pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.chinaitop</groupId>
  6. <artifactId>depot-agile-qinghai</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-agile-qinghai</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.4.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  22. <skipTests>true</skipTests>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>1.3.1</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. </dependency>
  38. <!-- 引入spring boot自带的pagehelper插件 -->
  39. <dependency>
  40. <groupId>com.github.pagehelper</groupId>
  41. <artifactId>pagehelper-spring-boot-starter</artifactId>
  42. <version>1.2.3</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-starter-config</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.netflix.servo</groupId>
  54. <artifactId>servo-core</artifactId>
  55. <version>0.12.7</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.commons</groupId>
  59. <artifactId>commons-lang3</artifactId>
  60. </dependency>
  61. <!-- swagger2 -->
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger2</artifactId>
  65. <version>2.6.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger-ui</artifactId>
  70. <version>2.6.1</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-test</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.poi</groupId>
  79. <artifactId>poi</artifactId>
  80. <version>3.9</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.poi</groupId>
  84. <artifactId>poi-ooxml</artifactId>
  85. <version>3.9</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.google.code.gson</groupId>
  89. <artifactId>gson</artifactId>
  90. <version>2.8.2</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-tomcat</artifactId>
  95. <scope>provided</scope>
  96. </dependency>
  97. <!-- 阿里巴巴json -->
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>fastjson</artifactId>
  101. <version>1.2.37</version>
  102. </dependency>
  103. <!-- 加载mybatis逆向生成工具包 -->
  104. <dependency>
  105. <groupId>org.mybatis.generator</groupId>
  106. <artifactId>mybatis-generator-core</artifactId>
  107. <!-- 注意版本.这里我使用的是1.3.2 -->
  108. <version>1.3.2</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-data-redis</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.session</groupId>
  116. <artifactId>spring-session-data-redis</artifactId>
  117. </dependency>
  118. <!-- feign -->
  119. <dependency>
  120. <groupId>org.springframework.cloud</groupId>
  121. <artifactId>spring-cloud-starter-openfeign</artifactId>
  122. </dependency>
  123. <!-- hystrix 熔断-->
  124. <dependency>
  125. <groupId>org.springframework.cloud</groupId>
  126. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  127. </dependency>
  128. </dependencies>
  129. <dependencyManagement>
  130. <dependencies>
  131. <dependency>
  132. <groupId>org.springframework.cloud</groupId>
  133. <artifactId>spring-cloud-dependencies</artifactId>
  134. <version>${spring-cloud.version}</version>
  135. <type>pom</type>
  136. <scope>import</scope>
  137. </dependency>
  138. </dependencies>
  139. </dependencyManagement>
  140. <build>
  141. <finalName>${project.artifactId}</finalName>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. </plugin>
  147. <!--<plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-war-plugin</artifactId>
  150. &lt;!&ndash;<version>2.6</version>&ndash;&gt;
  151. <configuration>
  152. <failOnMissingWebXml>false</failOnMissingWebXml>
  153. </configuration>
  154. </plugin>-->
  155. </plugins>
  156. <resources>
  157. <resource>
  158. <directory>src/main/java</directory>
  159. <includes>
  160. <include>**/*.properties</include>
  161. <include>**/*.xml</include>
  162. </includes>
  163. <!-- <filtering>false</filtering>-->
  164. </resource>
  165. <resource>
  166. <directory>src/main/resources</directory>
  167. </resource>
  168. </resources>
  169. </build>
  170. <repositories>
  171. <repository>
  172. <id>spring-milestones</id>
  173. <name>Spring Milestones</name>
  174. <url>https://repo.spring.io/milestone</url>
  175. <snapshots>
  176. <enabled>false</enabled>
  177. </snapshots>
  178. </repository>
  179. </repositories>
  180. </project>