pom.xml 6.7 KB

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