pom.xml 7.6 KB

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