pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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.2.2.RELEASE</version>
  9. </parent>
  10. <groupId>info.aspirecn.iov.yysj</groupId>
  11. <artifactId>cloud-yysj-product-check</artifactId>
  12. <version>1.1.2</version>
  13. <packaging>jar</packaging>
  14. <name>cloud-yysj-product-check</name>
  15. <url>http://maven.apache.org</url>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-actuator</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-sleuth</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.projectlombok</groupId>
  30. <artifactId>lombok</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-data-redis</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>commons-codec</groupId>
  38. <artifactId>commons-codec</artifactId>
  39. <version>1.11</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-tomcat</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.cloud</groupId>
  47. <artifactId>spring-cloud-starter-zuul</artifactId>
  48. <version>1.4.5.RELEASE</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-devtools</artifactId>
  53. <optional>true</optional>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.cloud</groupId>
  57. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>info.aspirecn.cloud.yysj</groupId>
  61. <artifactId>cloud-yysj-commons-lang</artifactId>
  62. <version>1.0.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>commons-io</groupId>
  66. <artifactId>commons-io</artifactId>
  67. <version>2.6</version>
  68. </dependency>
  69. <!--<dependency>
  70. <groupId>net.rakugakibox.spring.boot</groupId>
  71. <artifactId>logback-access-spring-boot-starter</artifactId>
  72. <version>2.7.1</version>
  73. </dependency>-->
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-configuration-processor</artifactId>
  77. <optional>true</optional>
  78. </dependency>
  79. <dependency>
  80. <groupId>net.logstash.logback</groupId>
  81. <artifactId>logstash-logback-encoder</artifactId>
  82. <version>5.0</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.commons</groupId>
  86. <artifactId>commons-lang3</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.modelmapper</groupId>
  90. <artifactId>modelmapper</artifactId>
  91. <version>2.3.0</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.google.code.gson</groupId>
  95. <artifactId>gson</artifactId>
  96. </dependency>
  97. </dependencies>
  98. <dependencyManagement>
  99. <dependencies>
  100. <dependency>
  101. <groupId>org.springframework.cloud</groupId>
  102. <artifactId>spring-cloud-dependencies</artifactId>
  103. <version>Hoxton.RELEASE</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. </dependencies>
  108. </dependencyManagement>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-jar-plugin</artifactId>
  114. <configuration>
  115. <archive>
  116. <manifest>
  117. <addClasspath>true</addClasspath>
  118. <classpathPrefix>lib/</classpathPrefix>
  119. </manifest>
  120. </archive>
  121. </configuration>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-maven-plugin</artifactId>
  126. <configuration>
  127. <includes>
  128. <include>
  129. <groupId>info.aspirecn.cloud.yysj</groupId>
  130. <artifactId>cloud-yysj-commons-lang</artifactId>
  131. </include>
  132. </includes>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-resources-plugin</artifactId>
  138. <executions>
  139. <execution>
  140. <id>default-resources</id>
  141. <phase>validate</phase>
  142. <goals>
  143. <goal>copy-resources</goal>
  144. </goals>
  145. <configuration>
  146. <outputDirectory>target/classes</outputDirectory>
  147. <useDefaultDelimiters>false</useDefaultDelimiters>
  148. <delimiters>
  149. <delimiter>@</delimiter>
  150. </delimiters>
  151. <resources>
  152. <resource>
  153. <directory>src/main/resources/config</directory>
  154. <targetPath>config</targetPath>
  155. <filtering>true</filtering>
  156. <includes>
  157. <include>**</include>
  158. </includes>
  159. </resource>
  160. </resources>
  161. </configuration>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-dependency-plugin</artifactId>
  168. <executions>
  169. <execution>
  170. <id>copy-dependencies</id>
  171. <phase>prepare-package</phase>
  172. <goals>
  173. <goal>copy-dependencies</goal>
  174. </goals>
  175. <configuration>
  176. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  177. <excludeGroupIds>
  178. info.aspirecn.cloud.yysj
  179. </excludeGroupIds>
  180. </configuration>
  181. </execution>
  182. <execution>
  183. <id>copy</id>
  184. <phase>install</phase>
  185. <goals>
  186. <goal>copy-dependencies</goal>
  187. </goals>
  188. <configuration>
  189. <outputDirectory>
  190. ${project.build.directory}/lib
  191. </outputDirectory>
  192. <excludeGroupIds>
  193. info.aspirecn.cloud.yysj
  194. </excludeGroupIds>
  195. </configuration>
  196. </execution>
  197. </executions>
  198. </plugin>
  199. </plugins>
  200. </build>
  201. </project>