pom.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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-fin-rest-parent</artifactId>
  7. <groupId>com.usoft.fin</groupId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>usoft-fin-rest-service</artifactId>
  12. <dependencies>
  13. <!-- spring boot -->
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.apache.httpcomponents</groupId>
  20. <artifactId>httpclient</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.usoft.fin</groupId>
  24. <artifactId>usoft-fin-rest-domain</artifactId>
  25. <version>1.0.0-SNAPSHOT</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.usoft.framework</groupId>
  29. <artifactId>usoft-security-utils</artifactId>
  30. <version>${spring.active.profile}-1.0-SNAPSHOT</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-configuration-processor</artifactId>
  35. <version>${spring-boot-configuration-processor.version}</version>
  36. <optional>true</optional>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <finalName>usoft-fin-rest-service</finalName>
  41. <!-- 开启资源文件过滤 -->
  42. <resources>
  43. <resource>
  44. <directory>${project.basedir}/src/main/resources</directory>
  45. <filtering>true</filtering>
  46. <targetPath>${project.build.directory}/classes</targetPath>
  47. </resource>
  48. </resources>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-maven-plugin</artifactId>
  53. <version>1.5.11.RELEASE</version>
  54. <executions>
  55. <execution>
  56. <goals>
  57. <goal>repackage</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. <configuration>
  62. <executable>true</executable>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-surefire-plugin</artifactId>
  68. <version>2.12.4</version>
  69. <configuration>
  70. <!-- 设置打包过程中不编译单元测试代码 TEST -->
  71. <skipTests>true</skipTests>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>