pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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.2.2.RELEASE</version>
  9. </parent>
  10. <groupId>info.aspirecn.cloud.yysj</groupId>
  11. <artifactId>cloud-yysj-waybill-query</artifactId>
  12. <version>1.0.5</version>
  13. <name>cloud-yysj-waybill-query</name>
  14. <description>cloud yysj platform analysis information</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
  18. </properties>
  19. <dependencies>
  20. <!--actuator-->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-actuator</artifactId>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.apache.logging.log4j</groupId>
  27. <artifactId>log4j-to-slf4j</artifactId>
  28. </exclusion>
  29. <exclusion>
  30. <groupId>org.apache.logging.log4j</groupId>
  31. <artifactId>log4j-api</artifactId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.apache.logging.log4j</groupId>
  45. <artifactId>log4j-to-slf4j</artifactId>
  46. </exclusion>
  47. <exclusion>
  48. <groupId>org.apache.logging.log4j</groupId>
  49. <artifactId>log4j-api</artifactId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.projectlombok</groupId>
  55. <artifactId>lombok</artifactId>
  56. <optional>true</optional>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.springfox</groupId>
  60. <artifactId>springfox-swagger2</artifactId>
  61. <version>2.9.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.springfox</groupId>
  65. <artifactId>springfox-swagger-ui</artifactId>
  66. <version>2.9.2</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.github.xiaoymin</groupId>
  70. <artifactId>swagger-bootstrap-ui</artifactId>
  71. <version>1.9.6</version>
  72. </dependency>
  73. <!--elasticsearch-->
  74. <dependency>
  75. <groupId>org.elasticsearch.client</groupId>
  76. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  77. <version>6.5.4</version>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>org.apache.logging.log4j</groupId>
  81. <artifactId>log4j-to-slf4j</artifactId>
  82. </exclusion>
  83. <exclusion>
  84. <groupId>org.apache.logging.log4j</groupId>
  85. <artifactId>log4j-api</artifactId>
  86. </exclusion>
  87. </exclusions>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.elasticsearch</groupId>
  91. <artifactId>elasticsearch</artifactId>
  92. <version>6.5.4</version>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.apache.logging.log4j</groupId>
  96. <artifactId>log4j-to-slf4j</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>org.apache.logging.log4j</groupId>
  100. <artifactId>log4j-api</artifactId>
  101. </exclusion>
  102. </exclusions>
  103. </dependency>
  104. <!-- fastjson -->
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>fastjson</artifactId>
  108. <version>1.2.76</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.logging.log4j</groupId>
  112. <artifactId>log4j-api</artifactId>
  113. <version>2.15.0</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.logging.log4j</groupId>
  117. <artifactId>log4j-to-slf4j</artifactId>
  118. <version>2.15.0</version>
  119. </dependency>
  120. </dependencies>
  121. <dependencyManagement>
  122. <dependencies>
  123. <dependency>
  124. <groupId>org.springframework.cloud</groupId>
  125. <artifactId>spring-cloud-dependencies</artifactId>
  126. <version>${spring-cloud.version}</version>
  127. <type>pom</type>
  128. <scope>import</scope>
  129. </dependency>
  130. </dependencies>
  131. </dependencyManagement>
  132. <build>
  133. <plugins>
  134. <plugin>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-maven-plugin</artifactId>
  137. </plugin>
  138. <!--设置应用 Main 参数启动依赖查找的地址指向外部 lib 文件夹-->
  139. <!-- <plugin>-->
  140. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  141. <!-- <artifactId>maven-jar-plugin</artifactId>-->
  142. <!-- <configuration>-->
  143. <!-- <archive>-->
  144. <!-- <manifest>-->
  145. <!-- <addClasspath>true</addClasspath>-->
  146. <!-- <classpathPrefix>lib/</classpathPrefix>-->
  147. <!-- </manifest>-->
  148. <!-- </archive>-->
  149. <!-- </configuration>-->
  150. <!-- </plugin>-->
  151. <!-- &lt;!&ndash;设置 SpringBoot 打包插件不包含任何 Jar 依赖包&ndash;&gt;-->
  152. <!-- <plugin>-->
  153. <!-- <groupId>org.springframework.boot</groupId>-->
  154. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  155. <!-- <configuration>-->
  156. <!-- <includes>-->
  157. <!-- <include>-->
  158. <!-- <groupId>nothing</groupId>-->
  159. <!-- <artifactId>nothing</artifactId>-->
  160. <!-- </include>-->
  161. <!-- </includes>-->
  162. <!-- </configuration>-->
  163. <!-- </plugin>-->
  164. <!-- &lt;!&ndash;设置将 lib 拷贝到应用 Jar 外面&ndash;&gt;-->
  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. <!-- </configuration>-->
  178. <!-- </execution>-->
  179. <!-- </executions>-->
  180. <!-- </plugin>-->
  181. </plugins>
  182. </build>
  183. </project>