pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-basic</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.3.12.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. <skipTests>true</skipTests>
  22. <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
  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-client</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-starter-config</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. <!-- 定时需要的jar包 -->
  84. <dependency>
  85. <groupId>org.quartz-scheduler</groupId>
  86. <artifactId>quartz</artifactId>
  87. <version>2.2.1</version>
  88. <exclusions>
  89. <exclusion>
  90. <artifactId>slf4j-api</artifactId>
  91. <groupId>org.slf4j</groupId>
  92. </exclusion>
  93. </exclusions>
  94. </dependency>
  95. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  96. <groupId>org.springframework</groupId>
  97. <artifactId>spring-context-support</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.google.code.gson</groupId>
  101. <artifactId>gson</artifactId>
  102. <version>2.8.2</version>
  103. </dependency>
  104. <!-- 加载mybatis逆向生成工具包 -->
  105. <dependency>
  106. <groupId>org.mybatis.generator</groupId>
  107. <artifactId>mybatis-generator-core</artifactId>
  108. <!-- 注意版本.这里我使用的是1.3.2 -->
  109. <version>1.3.2</version>
  110. </dependency>
  111. <!-- 定时需要的jar包 end -->
  112. <!-- <dependency> -->
  113. <!-- <groupId>org.springframework.boot</groupId> -->
  114. <!-- <artifactId>spring-boot-starter-tomcat</artifactId> -->
  115. <!-- <scope>provided</scope> -->
  116. <!-- </dependency> -->
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-data-redis</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework.session</groupId>
  123. <artifactId>spring-session-data-redis</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.httpcomponents</groupId>
  127. <artifactId>httpcore</artifactId>
  128. <version>4.4.10</version>
  129. </dependency>
  130. <!-- 调用http接口需要 -->
  131. <dependency>
  132. <groupId>org.apache.httpcomponents</groupId>
  133. <artifactId>httpclient</artifactId>
  134. <version>4.5.6</version>
  135. </dependency>
  136. <!--添加webservice-->
  137. <dependency>
  138. <groupId>org.apache.cxf</groupId>
  139. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  140. <version>3.2.4</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-starter-web-services</artifactId>
  145. </dependency>
  146. </dependencies>
  147. <dependencyManagement>
  148. <dependencies>
  149. <dependency>
  150. <groupId>org.springframework.cloud</groupId>
  151. <artifactId>spring-cloud-dependencies</artifactId>
  152. <version>${spring-cloud.version}</version>
  153. <type>pom</type>
  154. <scope>import</scope>
  155. </dependency>
  156. </dependencies>
  157. </dependencyManagement>
  158. <build>
  159. <finalName>${project.artifactId}</finalName>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-maven-plugin</artifactId>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-war-plugin</artifactId>
  168. <version>2.6</version>
  169. <configuration>
  170. <failOnMissingWebXml>false</failOnMissingWebXml>
  171. </configuration>
  172. </plugin>
  173. </plugins>
  174. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  175. <resources>
  176. <resource>
  177. <directory>src/main/java</directory>
  178. <includes>
  179. <include>**/*.properties</include>
  180. <include>**/*.xml</include>
  181. </includes>
  182. <filtering>false</filtering>
  183. </resource>
  184. <resource>
  185. <directory>src/main/resources</directory>
  186. </resource>
  187. </resources>
  188. </build>
  189. <repositories>
  190. <repository>
  191. <id>spring-milestones</id>
  192. <name>Spring Milestones</name>
  193. <url>https://repo.spring.io/milestone</url>
  194. <snapshots>
  195. <enabled>false</enabled>
  196. </snapshots>
  197. </repository>
  198. </repositories>
  199. </project>