| | |
| | | <java.version>1.8</java.version> |
| | | </properties> |
| | | |
| | | <profiles> |
| | | |
| | | <profile> |
| | | <id>dev</id> |
| | | <properties> |
| | | <env>dev</env> |
| | | </properties> |
| | | <activation> |
| | | <activeByDefault>true</activeByDefault> |
| | | </activation> |
| | | </profile> |
| | | <profile> |
| | | <id>test</id> |
| | | <properties> |
| | | <env>test</env> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>prd</id> |
| | | <properties> |
| | | <env>prd</env> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>mdPrd</id> |
| | | <properties> |
| | | <env>mdPrd</env> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>xcx</id> |
| | | <properties> |
| | | <env>xcx</env> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>lhx</id> |
| | | <properties> |
| | | <env>lhx</env> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>xcshop</id> |
| | | <properties> |
| | | <env>xcshop</env> |
| | | </properties> |
| | | </profile> |
| | | </profiles> |
| | | <dependencies> |
| | | |
| | | <!-- <dependency>--> |
| | |
| | | <artifactId>poi</artifactId> |
| | | <version>3.8</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>log4j</groupId> |
| | | <artifactId>log4j</artifactId> |
| | | <version>1.2.17</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>commons-fileupload</groupId> |
| | |
| | | </dependency> |
| | | |
| | | |
| | | <dependency> |
| | | <groupId>org.jetbrains</groupId> |
| | | <artifactId>annotations</artifactId> |
| | | <version>RELEASE</version> |
| | | <scope>compile</scope> |
| | | </dependency> |
| | | |
| | | <!--文件传输--> |
| | | <dependency> |
| | | <groupId>com.jcraft</groupId> |
| | |
| | | </dependency> |
| | | </dependencies> |
| | | <build> |
| | | <resources> |
| | | <resource> |
| | | <directory>src/main/resources</directory> |
| | | <filtering>true</filtering> |
| | | <excludes> |
| | | |
| | | <exclude>config/dev/*</exclude> |
| | | <exclude>config/prd/*</exclude> |
| | | <exclude>config/mdPrd/*</exclude> |
| | | <exclude>config/test/*</exclude> |
| | | <exclude>config/xcx/*</exclude> |
| | | <exclude>config/xcshop/*</exclude> |
| | | |
| | | <!----> |
| | | <exclude>config/config.json</exclude> |
| | | <exclude>config/application.properties</exclude> |
| | | <exclude>config/system.properties</exclude> |
| | | |
| | | |
| | | |
| | | <exclude>**/*.woff</exclude> |
| | | <exclude>**/*.woff2</exclude> |
| | | <exclude>**/*.ttf</exclude> |
| | | </excludes> |
| | | </resource> |
| | | <resource> |
| | | <directory>src/main/resources</directory> |
| | | <filtering>false</filtering> |
| | | <includes> |
| | | <include>**/*.woff</include> |
| | | <include>**/*.woff2</include> |
| | | <include>**/*.ttf</include> |
| | | <include>**/*.xls</include> |
| | | </includes> |
| | | </resource> |
| | | <resource> |
| | | <directory>src/main/resources/config/${env}</directory> |
| | | <targetPath>BOOT-INF/classes/config</targetPath> |
| | | </resource> |
| | | </resources> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-resources-plugin</artifactId> |
| | | <configuration> |
| | | <nonFilteredFileExtensions> |
| | | <nonFilteredFileExtension>woff</nonFilteredFileExtension> |
| | | <nonFilteredFileExtension>eot</nonFilteredFileExtension> |
| | | <nonFilteredFileExtension>ttf</nonFilteredFileExtension> |
| | | <nonFilteredFileExtension>svg</nonFilteredFileExtension> |
| | | <nonFilteredFileExtension>xls</nonFilteredFileExtension> |
| | | <nonFilteredFileExtension>xlsx</nonFilteredFileExtension> |
| | | </nonFilteredFileExtensions> |
| | | |
| | | </configuration> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | |
| | | </configuration> |
| | | </plugin> |
| | | |
| | | <!-- 热部署插件 --> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | |
| | | </plugin> |
| | | |
| | | </plugins> |
| | | </build> |
| | | |