pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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.apache.shardingsphere</groupId>
  27. <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
  28. <version>5.1.0</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.mybatis.spring.boot</groupId>
  36. <artifactId>mybatis-spring-boot-starter</artifactId>
  37. <version>1.3.1</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>mysql</groupId>
  41. <artifactId>mysql-connector-java</artifactId>
  42. </dependency>
  43. <!-- 引入spring boot自带的pagehelper插件 -->
  44. <dependency>
  45. <groupId>com.github.pagehelper</groupId>
  46. <artifactId>pagehelper-spring-boot-starter</artifactId>
  47. <version>1.2.3</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-starter-config</artifactId>
  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-ooxml</artifactId>
  80. <version>3.9</version>
  81. </dependency>
  82. <!-- 阿里巴巴json -->
  83. <dependency>
  84. <groupId>com.alibaba</groupId>
  85. <artifactId>fastjson</artifactId>
  86. <version>1.2.37</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. <!-- 定时需要的jar包 end -->
  117. <!-- <dependency> -->
  118. <!-- <groupId>org.springframework.boot</groupId> -->
  119. <!-- <artifactId>spring-boot-starter-tomcat</artifactId> -->
  120. <!-- <scope>provided</scope> -->
  121. <!-- </dependency> -->
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-starter-data-redis</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework.session</groupId>
  128. <artifactId>spring-session-data-redis</artifactId>
  129. </dependency>
  130. <!--<dependency>
  131. <groupId>org.apache.httpcomponents</groupId>
  132. <artifactId>httpcore</artifactId>
  133. <version>4.4.10</version>
  134. </dependency>-->
  135. <!-- 调用http接口需要 -->
  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. </dependencies>
  152. <dependencyManagement>
  153. <dependencies>
  154. <dependency>
  155. <groupId>org.springframework.cloud</groupId>
  156. <artifactId>spring-cloud-dependencies</artifactId>
  157. <version>${spring-cloud.version}</version>
  158. <type>pom</type>
  159. <scope>import</scope>
  160. </dependency>
  161. </dependencies>
  162. </dependencyManagement>
  163. <build>
  164. <finalName>${project.artifactId}</finalName>
  165. <plugins>
  166. <plugin>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-maven-plugin</artifactId>
  169. </plugin>
  170. <!--<plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-war-plugin</artifactId>
  173. <version>2.6</version>
  174. <configuration>
  175. <failOnMissingWebXml>false</failOnMissingWebXml>
  176. </configuration>
  177. </plugin>-->
  178. </plugins>
  179. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  180. <resources>
  181. <resource>
  182. <directory>src/main/java</directory>
  183. <includes>
  184. <include>**/*.properties</include>
  185. <include>**/*.xml</include>
  186. </includes>
  187. <filtering>false</filtering>
  188. </resource>
  189. <resource>
  190. <directory>src/main/resources</directory>
  191. </resource>
  192. </resources>
  193. </build>
  194. <repositories>
  195. <repository>
  196. <id>spring-milestones</id>
  197. <name>Spring Milestones</name>
  198. <url>https://repo.spring.io/milestone</url>
  199. <snapshots>
  200. <enabled>false</enabled>
  201. </snapshots>
  202. </repository>
  203. </repositories>
  204. </project>