pom.xml 8.0 KB

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