pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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-10000044</artifactId>
  13. <version>1.1.7</version>
  14. <name>iov-sjjh-servicenode-supplier-10000044</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. <log4j2.version>2.17.1</log4j2.version>
  20. </properties>
  21. <dependencies>
  22. <!-- 服务注册 -->
  23. <dependency>
  24. <groupId>org.springframework.cloud</groupId>
  25. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>io.springfox</groupId>
  33. <artifactId>springfox-swagger2</artifactId>
  34. <version>2.9.2</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>io.springfox</groupId>
  38. <artifactId>springfox-swagger-ui</artifactId>
  39. <version>2.9.2</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-devtools</artifactId>
  44. <optional>true</optional>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-config-client</artifactId>
  49. </dependency>
  50. <!-- aspire maven私服 -->
  51. <dependency>
  52. <groupId>info.aspirecn.rdc</groupId>
  53. <artifactId>aspirecloud-commons-sleuthlog-starter</artifactId>
  54. <version>5.0.1</version>
  55. </dependency>
  56. <!--错误日志-->
  57. <dependency>
  58. <groupId>info.aspirecn.rdc</groupId>
  59. <artifactId>aspirecloud-commons-errorlog-starter</artifactId>
  60. <version>5.0.2</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.squareup.okhttp3</groupId>
  64. <artifactId>okhttp</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>commons-codec</groupId>
  68. <artifactId>commons-codec</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>info.aspirecn.iov.sjjh</groupId>
  72. <artifactId>iov-sjjh-commons-lang</artifactId>
  73. <version>1.0.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-data-redis</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>fastjson</artifactId>
  82. <version>1.2.70</version>
  83. </dependency>
  84. </dependencies>
  85. <dependencyManagement>
  86. <dependencies>
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-dependencies</artifactId>
  90. <version>Finchley.SR2</version>
  91. <type>pom</type>
  92. <scope>import</scope>
  93. </dependency>
  94. </dependencies>
  95. </dependencyManagement>
  96. <build>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <configuration>
  102. <includes>
  103. <include>
  104. <groupId>info.aspirecn.iov.sjjh</groupId>
  105. <artifactId>iov-sjjh-commons-lang</artifactId>
  106. </include>
  107. </includes>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-jar-plugin</artifactId>
  113. <configuration>
  114. <archive>
  115. <manifest>
  116. <addClasspath>true</addClasspath>
  117. <classpathPrefix>lib/</classpathPrefix>
  118. </manifest>
  119. </archive>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-dependency-plugin</artifactId>
  125. <executions>
  126. <execution>
  127. <id>copy-dependencies</id>
  128. <phase>prepare-package</phase>
  129. <goals>
  130. <goal>copy-dependencies</goal>
  131. </goals>
  132. <configuration>
  133. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  134. <excludeGroupIds>
  135. info.aspirecn.iov.sjjh
  136. </excludeGroupIds>
  137. </configuration>
  138. </execution>
  139. <execution>
  140. <id>copy</id>
  141. <phase>install</phase>
  142. <goals>
  143. <goal>copy-dependencies</goal>
  144. </goals>
  145. <configuration>
  146. <outputDirectory>
  147. ${project.build.directory}/lib
  148. </outputDirectory>
  149. <excludeGroupIds>
  150. info.aspirecn.iov.sjjh
  151. </excludeGroupIds>
  152. </configuration>
  153. </execution>
  154. </executions>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-resources-plugin</artifactId>
  159. <executions>
  160. <execution>
  161. <id>default-resources</id>
  162. <phase>validate</phase>
  163. <goals>
  164. <goal>copy-resources</goal>
  165. </goals>
  166. <configuration>
  167. <outputDirectory>target/classes</outputDirectory>
  168. <useDefaultDelimiters>false</useDefaultDelimiters>
  169. <delimiters>
  170. <delimiter>@</delimiter>
  171. </delimiters>
  172. <resources>
  173. <resource>
  174. <directory>src/main/resources/config</directory>
  175. <targetPath>config</targetPath>
  176. <filtering>true</filtering>
  177. <includes>
  178. <include>**</include>
  179. </includes>
  180. </resource>
  181. </resources>
  182. </configuration>
  183. </execution>
  184. </executions>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. </project>