pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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. <dependency>
  104. <groupId>org.springframework.cloud</groupId>
  105. <artifactId>spring-cloud-starter-zipkin</artifactId>
  106. </dependency>
  107. </dependencies>
  108. <dependencyManagement>
  109. <dependencies>
  110. <dependency>
  111. <groupId>org.springframework.cloud</groupId>
  112. <artifactId>spring-cloud-dependencies</artifactId>
  113. <version>Finchley.SR2</version>
  114. <type>pom</type>
  115. <scope>import</scope>
  116. </dependency>
  117. </dependencies>
  118. </dependencyManagement>
  119. <build>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-maven-plugin</artifactId>
  124. <configuration>
  125. <includes>
  126. <include>
  127. <groupId>info.aspirecn.iov.sjjh</groupId>
  128. <artifactId>iov-sjjh-commons-lang</artifactId>
  129. </include>
  130. <include>
  131. <groupId>info.aspirecn.iov.sjjh</groupId>
  132. <artifactId>iov-sjjh-servicenode-sms-interface</artifactId>
  133. </include>
  134. <include>
  135. <groupId>info.aspirecn.iov.sjjh</groupId>
  136. <artifactId>iov-sjjh-servicenode-channel-interface</artifactId>
  137. </include>
  138. </includes>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-jar-plugin</artifactId>
  144. <configuration>
  145. <archive>
  146. <manifest>
  147. <addClasspath>true</addClasspath>
  148. <classpathPrefix>lib/</classpathPrefix>
  149. </manifest>
  150. </archive>
  151. </configuration>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-dependency-plugin</artifactId>
  156. <executions>
  157. <execution>
  158. <id>copy-dependencies</id>
  159. <phase>prepare-package</phase>
  160. <goals>
  161. <goal>copy-dependencies</goal>
  162. </goals>
  163. <configuration>
  164. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  165. <excludeGroupIds>
  166. info.aspirecn.iov.sjjh
  167. </excludeGroupIds>
  168. </configuration>
  169. </execution>
  170. <execution>
  171. <id>copy</id>
  172. <phase>install</phase>
  173. <goals>
  174. <goal>copy-dependencies</goal>
  175. </goals>
  176. <configuration>
  177. <outputDirectory>
  178. ${project.build.directory}/lib
  179. </outputDirectory>
  180. <excludeGroupIds>
  181. info.aspirecn.iov.sjjh
  182. </excludeGroupIds>
  183. </configuration>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-resources-plugin</artifactId>
  190. <executions>
  191. <execution>
  192. <id>default-resources</id>
  193. <phase>validate</phase>
  194. <goals>
  195. <goal>copy-resources</goal>
  196. </goals>
  197. <configuration>
  198. <outputDirectory>target/classes</outputDirectory>
  199. <useDefaultDelimiters>false</useDefaultDelimiters>
  200. <delimiters>
  201. <delimiter>@</delimiter>
  202. </delimiters>
  203. <resources>
  204. <resource>
  205. <directory>src/main/resources/config</directory>
  206. <targetPath>config</targetPath>
  207. <filtering>true</filtering>
  208. <includes>
  209. <include>**</include>
  210. </includes>
  211. </resource>
  212. </resources>
  213. </configuration>
  214. </execution>
  215. </executions>
  216. </plugin>
  217. </plugins>
  218. </build>
  219. </project>