pom.xml 6.8 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>cloud.yysj.product.info</groupId>
  12. <artifactId>cloud-yysj-product-info</artifactId>
  13. <version>1.0.6</version>
  14. <name>cloud-yysj-product-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.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-starter-openfeign</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.projectlombok</groupId>
  41. <artifactId>lombok</artifactId>
  42. <optional>true</optional>
  43. </dependency>
  44. <!-- 配置jdbc依赖 -->
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.data</groupId>
  51. <artifactId>spring-data-commons</artifactId>
  52. <version>2.2.2.RELEASE</version>
  53. </dependency>
  54. <!-- mysql依赖 -->
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. </dependency>
  59. <!-- mybatis依赖 -->
  60. <dependency>
  61. <groupId>org.mybatis.spring.boot</groupId>
  62. <artifactId>mybatis-spring-boot-starter</artifactId>
  63. <version>1.3.2</version>
  64. </dependency>
  65. <!-- swagger2-->
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. <!--swagger-->
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger2</artifactId>
  75. <version>2.9.2</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.springfox</groupId>
  79. <artifactId>springfox-swagger-ui</artifactId>
  80. <version>2.9.2</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.github.xiaoymin</groupId>
  84. <artifactId>knife4j-spring-boot-starter</artifactId>
  85. <version>2.0.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-lang3</artifactId>
  90. </dependency>
  91. <!-- redis -->
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-data-redis</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-pool2</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.cloud</groupId>
  102. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  103. </dependency>
  104. <!--actuator-->
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-actuator</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.logging.log4j</groupId>
  111. <artifactId>log4j-api</artifactId>
  112. <version>2.15.0</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.logging.log4j</groupId>
  116. <artifactId>log4j-to-slf4j</artifactId>
  117. <version>2.15.0</version>
  118. </dependency>
  119. </dependencies>
  120. <dependencyManagement>
  121. <dependencies>
  122. <dependency>
  123. <groupId>org.springframework.cloud</groupId>
  124. <artifactId>spring-cloud-dependencies</artifactId>
  125. <version>${spring-cloud.version}</version>
  126. <type>pom</type>
  127. <scope>import</scope>
  128. </dependency>
  129. </dependencies>
  130. </dependencyManagement>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-maven-plugin</artifactId>
  136. </plugin>
  137. <!--设置应用 Main 参数启动依赖查找的地址指向外部 lib 文件夹-->
  138. <!-- <plugin>-->
  139. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  140. <!-- <artifactId>maven-jar-plugin</artifactId>-->
  141. <!-- <configuration>-->
  142. <!-- <archive>-->
  143. <!-- <manifest>-->
  144. <!-- <addClasspath>true</addClasspath>-->
  145. <!-- <classpathPrefix>lib/</classpathPrefix>-->
  146. <!-- </manifest>-->
  147. <!-- </archive>-->
  148. <!-- </configuration>-->
  149. <!-- </plugin>-->
  150. <!-- &lt;!&ndash;设置 SpringBoot 打包插件不包含任何 Jar 依赖包&ndash;&gt;-->
  151. <!-- <plugin>-->
  152. <!-- <groupId>org.springframework.boot</groupId>-->
  153. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  154. <!-- <configuration>-->
  155. <!-- <includes>-->
  156. <!-- <include>-->
  157. <!-- <groupId>nothing</groupId>-->
  158. <!-- <artifactId>nothing</artifactId>-->
  159. <!-- </include>-->
  160. <!-- </includes>-->
  161. <!-- </configuration>-->
  162. <!-- </plugin>-->
  163. <!-- &lt;!&ndash;设置将 lib 拷贝到应用 Jar 外面&ndash;&gt;-->
  164. <!-- <plugin>-->
  165. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  166. <!-- <artifactId>maven-dependency-plugin</artifactId>-->
  167. <!-- <executions>-->
  168. <!-- <execution>-->
  169. <!-- <id>copy-dependencies</id>-->
  170. <!-- <phase>prepare-package</phase>-->
  171. <!-- <goals>-->
  172. <!-- <goal>copy-dependencies</goal>-->
  173. <!-- </goals>-->
  174. <!-- <configuration>-->
  175. <!-- <outputDirectory>${project.build.directory}/lib</outputDirectory>-->
  176. <!-- </configuration>-->
  177. <!-- </execution>-->
  178. <!-- </executions>-->
  179. <!-- </plugin>-->
  180. </plugins>
  181. </build>
  182. </project>