pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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-check-info</artifactId>
  12. <version>1.1.8</version>
  13. <packaging>jar</packaging>
  14. <name>cloud-yysj-infocheck</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>info.aspirecn.cloud.yysj</groupId>
  22. <artifactId>cloud-yysj-commons-lang</artifactId>
  23. <version>1.0.0</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-actuator</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>info.aspirecn.iov.yysj</groupId>
  35. <artifactId>cloud-yysj-servicenode-paramtransfer-interface</artifactId>
  36. <version>1.0.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-redis</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>commons-codec</groupId>
  44. <artifactId>commons-codec</artifactId>
  45. <version>1.11</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-tomcat</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-zuul</artifactId>
  54. <version>1.4.5.RELEASE</version>
  55. </dependency>
  56. <!-- <dependency>
  57. <groupId>org.springframework.cloud</groupId>
  58. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  59. </dependency>-->
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-sleuth</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-devtools</artifactId>
  67. <optional>true</optional>
  68. </dependency>
  69. <dependency>
  70. <groupId>commons-io</groupId>
  71. <artifactId>commons-io</artifactId>
  72. <version>2.6</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>net.rakugakibox.spring.boot</groupId>
  86. <artifactId>logback-access-spring-boot-starter</artifactId>
  87. <version>2.7.1</version>
  88. </dependency>-->
  89. <dependency>
  90. <groupId>org.apache.commons</groupId>
  91. <artifactId>commons-lang3</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.modelmapper</groupId>
  95. <artifactId>modelmapper</artifactId>
  96. <version>2.3.0</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.google.code.gson</groupId>
  100. <artifactId>gson</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.jsonwebtoken</groupId>
  104. <artifactId>jjwt</artifactId>
  105. <version>0.9.1</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.alibaba</groupId>
  109. <artifactId>fastjson</artifactId>
  110. <version>1.2.66</version>
  111. </dependency>
  112. </dependencies>
  113. <dependencyManagement>
  114. <dependencies>
  115. <dependency>
  116. <groupId>org.springframework.cloud</groupId>
  117. <artifactId>spring-cloud-dependencies</artifactId>
  118. <version>Hoxton.RELEASE</version>
  119. <type>pom</type>
  120. <scope>import</scope>
  121. </dependency>
  122. </dependencies>
  123. </dependencyManagement>
  124. <build>
  125. <plugins>
  126. <!--设置应用 Main 参数启动依赖查找的地址指向外部 lib 文件夹-->
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-jar-plugin</artifactId>
  130. <configuration>
  131. <archive>
  132. <manifest>
  133. <addClasspath>true</addClasspath>
  134. <classpathPrefix>lib/</classpathPrefix>
  135. </manifest>
  136. </archive>
  137. </configuration>
  138. </plugin>
  139. <!-- 设置 SpringBoot 打包插件不包含任何 Jar 依赖包-->
  140. <plugin>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-maven-plugin</artifactId>
  143. <configuration>
  144. <includes>
  145. <include>
  146. <groupId>info.aspirecn.iov.yysj</groupId>
  147. <artifactId>cloud-yysj-servicenode-paramtransfer-interface</artifactId>
  148. </include>
  149. <include>
  150. <groupId>info.aspirecn.cloud.yysj</groupId>
  151. <artifactId>cloud-yysj-commons-lang</artifactId>
  152. </include>
  153. </includes>
  154. </configuration>
  155. </plugin>
  156. <!-- 设置将 lib 拷贝到应用 Jar 外面-->
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-dependency-plugin</artifactId>
  160. <executions>
  161. <execution>
  162. <id>copy-dependencies</id>
  163. <phase>prepare-package</phase>
  164. <goals>
  165. <goal>copy-dependencies</goal>
  166. </goals>
  167. <configuration>
  168. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  169. <excludeGroupIds>
  170. info.aspirecn.cloud.yysj
  171. </excludeGroupIds>
  172. </configuration>
  173. </execution>
  174. <execution>
  175. <id>copy</id>
  176. <phase>install</phase>
  177. <goals>
  178. <goal>copy-dependencies</goal>
  179. </goals>
  180. <configuration>
  181. <outputDirectory>
  182. ${project.build.directory}/lib
  183. </outputDirectory>
  184. <excludeGroupIds>
  185. info.aspirecn.cloud.yysj
  186. </excludeGroupIds>
  187. </configuration>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. <!-- <plugin>-->
  192. <!-- <groupId>org.springframework.boot</groupId>-->
  193. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  194. <!-- </plugin>-->
  195. <!-- <plugin>-->
  196. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  197. <!-- <artifactId>maven-jar-plugin</artifactId>-->
  198. <!-- </plugin>-->
  199. <!-- <plugin>-->
  200. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  201. <!-- <artifactId>maven-dependency-plugin</artifactId>-->
  202. <!-- </plugin>-->
  203. <!-- <plugin>-->
  204. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  205. <!-- <artifactId>maven-resources-plugin</artifactId>-->
  206. <!-- <executions>-->
  207. <!-- <execution>-->
  208. <!-- <id>default-resources</id>-->
  209. <!-- <phase>validate</phase>-->
  210. <!-- <goals>-->
  211. <!-- <goal>copy-resources</goal>-->
  212. <!-- </goals>-->
  213. <!-- <configuration>-->
  214. <!-- <outputDirectory>target/classes</outputDirectory>-->
  215. <!-- <useDefaultDelimiters>false</useDefaultDelimiters>-->
  216. <!-- <delimiters>-->
  217. <!-- <delimiter>@</delimiter>-->
  218. <!-- </delimiters>-->
  219. <!-- <resources>-->
  220. <!-- <resource>-->
  221. <!-- <directory>src/main/resources</directory>-->
  222. <!-- <filtering>true</filtering>-->
  223. <!-- <includes>-->
  224. <!-- <include>**</include>-->
  225. <!-- </includes>-->
  226. <!-- </resource>-->
  227. <!-- </resources>-->
  228. <!-- </configuration>-->
  229. <!-- </execution>-->
  230. <!-- </executions>-->
  231. <!-- </plugin>-->
  232. </plugins>
  233. </build>
  234. </project>