pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.0.6.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>info.aspirecn.iov.sjjh</groupId>
  12. <artifactId>iov-sjjh-servicenode-supplier-10000043</artifactId>
  13. <version>1.2.1</version>
  14. <name>iov-sjjh-servicenode-supplier-10000043</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. </properties>
  20. <dependencies>
  21. <!-- 服务注册 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-data-redis</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.apache.cxf</groupId>
  32. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  33. <version>3.2.4</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.springfox</groupId>
  41. <artifactId>springfox-swagger2</artifactId>
  42. <version>2.9.2</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.springfox</groupId>
  46. <artifactId>springfox-swagger-ui</artifactId>
  47. <version>2.9.2</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-devtools</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.cloud</groupId>
  56. <artifactId>spring-cloud-config-client</artifactId>
  57. </dependency>
  58. <!-- aspire maven私服 -->
  59. <dependency>
  60. <groupId>info.aspirecn.rdc</groupId>
  61. <artifactId>aspirecloud-commons-sleuthlog-starter</artifactId>
  62. <version>5.0.1</version>
  63. </dependency>
  64. <!--错误日志-->
  65. <dependency>
  66. <groupId>info.aspirecn.rdc</groupId>
  67. <artifactId>aspirecloud-commons-errorlog-starter</artifactId>
  68. <version>5.0.2</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>fastjson</artifactId>
  73. <version>1.2.70</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.squareup.okhttp3</groupId>
  77. <artifactId>okhttp</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>commons-codec</groupId>
  81. <artifactId>commons-codec</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>info.aspirecn.iov.sjjh</groupId>
  85. <artifactId>iov-sjjh-commons-lang</artifactId>
  86. <version>1.0.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>axis</groupId>
  90. <artifactId>axis</artifactId>
  91. <version>1.4</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>info.aspirecn.iov.sjjh</groupId>
  95. <artifactId>iov-sjjh-servicenode-sms-interface</artifactId>
  96. <version>1.0.0</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>info.aspirecn.iov.sjjh</groupId>
  100. <artifactId>iov-sjjh-servicenode-channel-interface</artifactId>
  101. <version>1.0.0</version>
  102. </dependency>
  103. </dependencies>
  104. <dependencyManagement>
  105. <dependencies>
  106. <dependency>
  107. <groupId>org.springframework.cloud</groupId>
  108. <artifactId>spring-cloud-dependencies</artifactId>
  109. <version>Finchley.SR2</version>
  110. <type>pom</type>
  111. <scope>import</scope>
  112. </dependency>
  113. </dependencies>
  114. </dependencyManagement>
  115. <build>
  116. <plugins>
  117. <plugin>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-maven-plugin</artifactId>
  120. <configuration>
  121. <includes>
  122. <include>
  123. <groupId>info.aspirecn.iov.sjjh</groupId>
  124. <artifactId>iov-sjjh-commons-lang</artifactId>
  125. </include>
  126. <include>
  127. <groupId>info.aspirecn.iov.sjjh</groupId>
  128. <artifactId>iov-sjjh-servicenode-sms-interface</artifactId>
  129. </include>
  130. <include>
  131. <groupId>info.aspirecn.iov.sjjh</groupId>
  132. <artifactId>iov-sjjh-servicenode-channel-interface</artifactId>
  133. </include>
  134. </includes>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-jar-plugin</artifactId>
  140. <configuration>
  141. <archive>
  142. <manifest>
  143. <addClasspath>true</addClasspath>
  144. <classpathPrefix>lib/</classpathPrefix>
  145. </manifest>
  146. </archive>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-dependency-plugin</artifactId>
  152. <executions>
  153. <execution>
  154. <id>copy-dependencies</id>
  155. <phase>prepare-package</phase>
  156. <goals>
  157. <goal>copy-dependencies</goal>
  158. </goals>
  159. <configuration>
  160. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  161. <excludeGroupIds>
  162. info.aspirecn.iov.sjjh
  163. </excludeGroupIds>
  164. </configuration>
  165. </execution>
  166. <execution>
  167. <id>copy</id>
  168. <phase>install</phase>
  169. <goals>
  170. <goal>copy-dependencies</goal>
  171. </goals>
  172. <configuration>
  173. <outputDirectory>
  174. ${project.build.directory}/lib
  175. </outputDirectory>
  176. <excludeGroupIds>
  177. info.aspirecn.iov.sjjh
  178. </excludeGroupIds>
  179. </configuration>
  180. </execution>
  181. </executions>
  182. </plugin>
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-resources-plugin</artifactId>
  186. <executions>
  187. <execution>
  188. <id>default-resources</id>
  189. <phase>validate</phase>
  190. <goals>
  191. <goal>copy-resources</goal>
  192. </goals>
  193. <configuration>
  194. <outputDirectory>target/classes</outputDirectory>
  195. <useDefaultDelimiters>false</useDefaultDelimiters>
  196. <delimiters>
  197. <delimiter>@</delimiter>
  198. </delimiters>
  199. <resources>
  200. <resource>
  201. <directory>src/main/resources/config</directory>
  202. <targetPath>config</targetPath>
  203. <filtering>true</filtering>
  204. <includes>
  205. <include>**</include>
  206. </includes>
  207. </resource>
  208. </resources>
  209. </configuration>
  210. </execution>
  211. </executions>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. </project>