pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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-basic-qinghai</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-basic-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.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter-config</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.mybatis.spring.boot</groupId>
  35. <artifactId>mybatis-spring-boot-starter</artifactId>
  36. <version>1.3.2</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.cloud</groupId>
  40. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  41. </dependency>
  42. <!-- 引入spring boot自带的pagehelper插件 -->
  43. <dependency>
  44. <groupId>com.github.pagehelper</groupId>
  45. <artifactId>pagehelper-spring-boot-starter</artifactId>
  46. <version>1.2.3</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>mysql</groupId>
  50. <artifactId>mysql-connector-java</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.commons</groupId>
  54. <artifactId>commons-lang3</artifactId>
  55. </dependency>
  56. <!-- swagger2 -->
  57. <dependency>
  58. <groupId>io.springfox</groupId>
  59. <artifactId>springfox-swagger2</artifactId>
  60. <version>2.6.1</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger-ui</artifactId>
  65. <version>2.6.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.poi</groupId>
  74. <artifactId>poi-ooxml</artifactId>
  75. <version>3.9</version>
  76. </dependency>
  77. <!-- 阿里巴巴json -->
  78. <dependency>
  79. <groupId>com.alibaba</groupId>
  80. <artifactId>fastjson</artifactId>
  81. <version>1.2.37</version>
  82. </dependency>
  83. <!-- <dependency>-->
  84. <!-- <groupId>com.alibaba</groupId>-->
  85. <!-- <artifactId>druid-spring-boot-starter</artifactId>-->
  86. <!-- <version>1.1.10</version>-->
  87. <!-- </dependency>-->
  88. <!-- 定时需要的jar包 -->
  89. <dependency>
  90. <groupId>org.quartz-scheduler</groupId>
  91. <artifactId>quartz</artifactId>
  92. <version>2.2.1</version>
  93. <exclusions>
  94. <exclusion>
  95. <artifactId>slf4j-api</artifactId>
  96. <groupId>org.slf4j</groupId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-context-support</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.google.code.gson</groupId>
  106. <artifactId>gson</artifactId>
  107. <version>2.8.2</version>
  108. </dependency>
  109. <!-- 加载mybatis逆向生成工具包 -->
  110. <dependency>
  111. <groupId>org.mybatis.generator</groupId>
  112. <artifactId>mybatis-generator-core</artifactId>
  113. <!-- 注意版本.这里我使用的是1.3.2 -->
  114. <version>1.3.2</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-data-redis</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.session</groupId>
  122. <artifactId>spring-session-data-redis</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.httpcomponents</groupId>
  126. <artifactId>httpcore</artifactId>
  127. <version>4.4.10</version>
  128. </dependency>
  129. <!-- hutool -->
  130. <dependency>
  131. <groupId>cn.hutool</groupId>
  132. <artifactId>hutool-all</artifactId>
  133. <version>5.8.12</version>
  134. </dependency>
  135. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  136. <dependency>
  137. <groupId>org.apache.httpcomponents</groupId>
  138. <artifactId>httpclient</artifactId>
  139. <version>4.5.6</version>
  140. </dependency>
  141. <!--添加webservice-->
  142. <dependency>
  143. <groupId>org.apache.cxf</groupId>
  144. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  145. <version>3.2.4</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-starter-web-services</artifactId>
  150. </dependency>
  151. <!-- feign -->
  152. <dependency>
  153. <groupId>org.springframework.cloud</groupId>
  154. <artifactId>spring-cloud-starter-openfeign</artifactId>
  155. </dependency>
  156. </dependencies>
  157. <dependencyManagement>
  158. <dependencies>
  159. <dependency>
  160. <groupId>org.springframework.cloud</groupId>
  161. <artifactId>spring-cloud-dependencies</artifactId>
  162. <version>${spring-cloud.version}</version>
  163. <type>pom</type>
  164. <scope>import</scope>
  165. </dependency>
  166. </dependencies>
  167. </dependencyManagement>
  168. <build>
  169. <finalName>${project.artifactId}</finalName>
  170. <plugins>
  171. <plugin>
  172. <groupId>org.springframework.boot</groupId>
  173. <artifactId>spring-boot-maven-plugin</artifactId>
  174. <version>2.5.5</version>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-war-plugin</artifactId>
  179. <version>2.6</version>
  180. <configuration>
  181. <failOnMissingWebXml>false</failOnMissingWebXml>
  182. </configuration>
  183. </plugin>
  184. </plugins>
  185. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  186. <resources>
  187. <resource>
  188. <directory>src/main/java</directory>
  189. <includes>
  190. <include>**/*.properties</include>
  191. <include>**/*.xml</include>
  192. </includes>
  193. <filtering>false</filtering>
  194. </resource>
  195. <resource>
  196. <directory>src/main/resources</directory>
  197. </resource>
  198. </resources>
  199. </build>
  200. <repositories>
  201. <repository>
  202. <id>spring-milestones</id>
  203. <name>Spring Milestones</name>
  204. <url>https://repo.spring.io/milestone</url>
  205. <snapshots>
  206. <enabled>false</enabled>
  207. </snapshots>
  208. </repository>
  209. </repositories>
  210. </project>