pom.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>usoft-credit-parent</artifactId>
  7. <groupId>com.usoft.credit</groupId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>usoft-credit-service</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.usoft.credit</groupId>
  16. <artifactId>usoft-credit-bl</artifactId>
  17. <version>1.0.0-SNAPSHOT</version>
  18. </dependency>
  19. </dependencies>
  20. <build>
  21. <finalName>usoft-credit-service</finalName>
  22. <!-- 开启资源文件过滤 -->
  23. <resources>
  24. <resource>
  25. <directory>${project.basedir}/src/main/resources</directory>
  26. <filtering>true</filtering>
  27. <targetPath>${project.build.directory}/classes</targetPath>
  28. </resource>
  29. </resources>
  30. <plugins>
  31. <plugin>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-maven-plugin</artifactId>
  34. <version>1.5.11.RELEASE</version>
  35. <executions>
  36. <execution>
  37. <goals>
  38. <goal>repackage</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. <configuration>
  43. <executable>true</executable>
  44. </configuration>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-surefire-plugin</artifactId>
  49. <version>2.12.4</version>
  50. <configuration>
  51. <!-- 设置打包过程中不编译单元测试代码 TEST -->
  52. <skipTests>true</skipTests>
  53. </configuration>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. </project>