pom.xml 6.4 KB

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