pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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.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. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.mybatis.spring.boot</groupId>
  30. <artifactId>mybatis-spring-boot-starter</artifactId>
  31. <version>1.3.1</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>mysql</groupId>
  35. <artifactId>mysql-connector-java</artifactId>
  36. </dependency>
  37. <!-- 引入spring boot自带的pagehelper插件 -->
  38. <dependency>
  39. <groupId>com.github.pagehelper</groupId>
  40. <artifactId>pagehelper-spring-boot-starter</artifactId>
  41. <version>1.2.3</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.cloud</groupId>
  45. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-starter-config</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.commons</groupId>
  53. <artifactId>commons-lang3</artifactId>
  54. </dependency>
  55. <!-- swagger2 -->
  56. <dependency>
  57. <groupId>io.springfox</groupId>
  58. <artifactId>springfox-swagger2</artifactId>
  59. <version>2.6.1</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>io.springfox</groupId>
  63. <artifactId>springfox-swagger-ui</artifactId>
  64. <version>2.6.1</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-test</artifactId>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.poi</groupId>
  73. <artifactId>poi-ooxml</artifactId>
  74. <version>3.9</version>
  75. </dependency>
  76. <!-- 阿里巴巴json -->
  77. <dependency>
  78. <groupId>com.alibaba</groupId>
  79. <artifactId>fastjson</artifactId>
  80. <version>1.2.37</version>
  81. </dependency>
  82. <!-- 定时需要的jar包 -->
  83. <dependency>
  84. <groupId>org.quartz-scheduler</groupId>
  85. <artifactId>quartz</artifactId>
  86. <version>2.2.1</version>
  87. <exclusions>
  88. <exclusion>
  89. <artifactId>slf4j-api</artifactId>
  90. <groupId>org.slf4j</groupId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  95. <groupId>org.springframework</groupId>
  96. <artifactId>spring-context-support</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.google.code.gson</groupId>
  100. <artifactId>gson</artifactId>
  101. <version>2.8.2</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. <!-- 定时需要的jar包 end -->
  111. <!-- <dependency> -->
  112. <!-- <groupId>org.springframework.boot</groupId> -->
  113. <!-- <artifactId>spring-boot-starter-tomcat</artifactId> -->
  114. <!-- <scope>provided</scope> -->
  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. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  130. <dependency>
  131. <groupId>org.apache.httpcomponents</groupId>
  132. <artifactId>httpclient</artifactId>
  133. <version>4.5.6</version>
  134. </dependency>
  135. </dependencies>
  136. <dependencyManagement>
  137. <dependencies>
  138. <dependency>
  139. <groupId>org.springframework.cloud</groupId>
  140. <artifactId>spring-cloud-dependencies</artifactId>
  141. <version>${spring-cloud.version}</version>
  142. <type>pom</type>
  143. <scope>import</scope>
  144. </dependency>
  145. </dependencies>
  146. </dependencyManagement>
  147. <build>
  148. <finalName>${project.artifactId}</finalName>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-maven-plugin</artifactId>
  153. <configuration>
  154. <classifier>exec</classifier>
  155. </configuration>
  156. </plugin>
  157. <!--<plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-war-plugin</artifactId>
  160. <version>2.6</version>
  161. <configuration>
  162. <failOnMissingWebXml>false</failOnMissingWebXml>
  163. </configuration>
  164. </plugin>-->
  165. </plugins>
  166. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  167. <resources>
  168. <resource>
  169. <directory>src/main/java</directory>
  170. <includes>
  171. <include>**/*.properties</include>
  172. <include>**/*.xml</include>
  173. </includes>
  174. <filtering>false</filtering>
  175. </resource>
  176. <resource>
  177. <directory>src/main/resources</directory>
  178. </resource>
  179. </resources>
  180. </build>
  181. <repositories>
  182. <repository>
  183. <id>spring-milestones</id>
  184. <name>Spring Milestones</name>
  185. <url>https://repo.spring.io/milestone</url>
  186. <snapshots>
  187. <enabled>false</enabled>
  188. </snapshots>
  189. </repository>
  190. </repositories>
  191. </project>