pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>info.aspirecn.cloud.yysj</groupId>
  12. <artifactId>cloud-yysj-driver-info</artifactId>
  13. <version>1.0.1</version>
  14. <name>cloud-yysj-driver-info</name>
  15. <description>cloud yysj platform driver product information</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</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.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. <optional>true</optional>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.projectlombok</groupId>
  42. <artifactId>lombok</artifactId>
  43. <optional>true</optional>
  44. </dependency>
  45. <!--swagger-->
  46. <dependency>
  47. <groupId>io.springfox</groupId>
  48. <artifactId>springfox-swagger2</artifactId>
  49. <version>2.9.2</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>io.springfox</groupId>
  53. <artifactId>springfox-swagger-ui</artifactId>
  54. <version>2.9.2</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.github.xiaoymin</groupId>
  58. <artifactId>knife4j-spring-boot-starter</artifactId>
  59. <version>2.0.1</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.commons</groupId>
  63. <artifactId>commons-lang3</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.elasticsearch.client</groupId>
  67. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  68. <version>6.5.4</version>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>org.apache.logging.log4j</groupId>
  72. <artifactId>log4j-to-slf4j</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>org.apache.logging.log4j</groupId>
  76. <artifactId>log4j-api</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.elasticsearch</groupId>
  82. <artifactId>elasticsearch</artifactId>
  83. <version>6.5.4</version>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>org.apache.logging.log4j</groupId>
  87. <artifactId>log4j-to-slf4j</artifactId>
  88. </exclusion>
  89. <exclusion>
  90. <groupId>org.apache.logging.log4j</groupId>
  91. <artifactId>log4j-api</artifactId>
  92. </exclusion>
  93. </exclusions>
  94. </dependency>
  95. <!-- fastjson -->
  96. <dependency>
  97. <groupId>com.alibaba</groupId>
  98. <artifactId>fastjson</artifactId>
  99. <version>1.2.76</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.cloud</groupId>
  103. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  104. </dependency>
  105. <!--actuator-->
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-actuator</artifactId>
  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>