pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.2.2.RELEASE</version>
  8. </parent>
  9. <artifactId>iov-sjjh-servicenode-supplier-common</artifactId>
  10. <version>1.0.2</version>
  11. <name>iov-sjjh-servicenode-supplier-common</name>
  12. <url>http://maven.apache.org</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <dependencies>
  17. <!-- 服务注册 -->
  18. <dependency>
  19. <groupId>org.springframework.cloud</groupId>
  20. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>io.springfox</groupId>
  28. <artifactId>springfox-swagger2</artifactId>
  29. <version>2.9.2</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.projectlombok</groupId>
  33. <artifactId>lombok</artifactId>
  34. <version>1.16.22</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. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-data-redis</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>info.aspirecn.rdc</groupId>
  62. <artifactId>aspirecloud-commons-errorlog-starter</artifactId>
  63. <version>5.0.2</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.squareup.okhttp3</groupId>
  67. <artifactId>okhttp</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>commons-codec</groupId>
  71. <artifactId>commons-codec</artifactId>
  72. </dependency>
  73. </dependencies>
  74. <dependencyManagement>
  75. <dependencies>
  76. <dependency>
  77. <groupId>org.springframework.cloud</groupId>
  78. <artifactId>spring-cloud-dependencies</artifactId>
  79. <version>Hoxton.RELEASE</version>
  80. <type>pom</type>
  81. <scope>import</scope>
  82. </dependency>
  83. </dependencies>
  84. </dependencyManagement>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. </plugin>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-jar-plugin</artifactId>
  94. <configuration>
  95. <archive>
  96. <manifest>
  97. <addClasspath>true</addClasspath>
  98. <classpathPrefix>lib/</classpathPrefix>
  99. </manifest>
  100. </archive>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-dependency-plugin</artifactId>
  106. <executions>
  107. <execution>
  108. <id>copy-dependencies</id>
  109. <phase>prepare-package</phase>
  110. <goals>
  111. <goal>copy-dependencies</goal>
  112. </goals>
  113. <configuration>
  114. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  115. </configuration>
  116. </execution>
  117. <execution>
  118. <id>copy</id>
  119. <phase>install</phase>
  120. <goals>
  121. <goal>copy-dependencies</goal>
  122. </goals>
  123. <configuration>
  124. <outputDirectory>
  125. ${project.build.directory}/lib
  126. </outputDirectory>
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-resources-plugin</artifactId>
  134. <executions>
  135. <execution>
  136. <id>default-resources</id>
  137. <phase>validate</phase>
  138. <goals>
  139. <goal>copy-resources</goal>
  140. </goals>
  141. <configuration>
  142. <outputDirectory>target/classes</outputDirectory>
  143. <useDefaultDelimiters>false</useDefaultDelimiters>
  144. <delimiters>
  145. <delimiter>@</delimiter>
  146. </delimiters>
  147. <resources>
  148. <resource>
  149. <directory>src/main/resources/config</directory>
  150. <targetPath>config</targetPath>
  151. <filtering>true</filtering>
  152. <includes>
  153. <include>**</include>
  154. </includes>
  155. </resource>
  156. </resources>
  157. </configuration>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. </project>