pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.chinaitop</groupId>
  7. <artifactId>depot-api</artifactId>
  8. <version>0.0.1</version>
  9. <packaging>jar</packaging>
  10. <!--<packaging>war</packaging>-->
  11. <name>depot-api</name>
  12. <description>Demo project for Spring Boot</description>
  13. <parent>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-starter-parent</artifactId>
  16. <version>2.0.2.RELEASE</version>
  17. <relativePath/> <!-- lookup parent from repository -->
  18. </parent>
  19. <properties>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. <java.version>1.8</java.version>
  23. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-aop</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.cloud</groupId>
  36. <artifactId>spring-cloud-starter-config</artifactId>
  37. </dependency>
  38. <!--添加webservice-->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web-services</artifactId>
  42. </dependency>
  43. <!--添加webservice end-->
  44. <dependency>
  45. <groupId>org.mybatis.spring.boot</groupId>
  46. <artifactId>mybatis-spring-boot-starter</artifactId>
  47. <version>1.3.1</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>mysql</groupId>
  51. <artifactId>mysql-connector-java</artifactId>
  52. </dependency>
  53. <!-- 引入spring boot自带的pagehelper插件 -->
  54. <dependency>
  55. <groupId>com.github.pagehelper</groupId>
  56. <artifactId>pagehelper-spring-boot-starter</artifactId>
  57. <version>1.2.3</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.commons</groupId>
  65. <artifactId>commons-lang3</artifactId>
  66. </dependency>
  67. <!-- swagger2 -->
  68. <dependency>
  69. <groupId>io.springfox</groupId>
  70. <artifactId>springfox-swagger2</artifactId>
  71. <version>2.6.1</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>io.springfox</groupId>
  75. <artifactId>springfox-swagger-ui</artifactId>
  76. <version>2.6.1</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-test</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.poi</groupId>
  85. <artifactId>poi-ooxml</artifactId>
  86. <version>3.9</version>
  87. </dependency>
  88. <!--httpClient-->
  89. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  90. <dependency>
  91. <groupId>org.apache.httpcomponents</groupId>
  92. <artifactId>httpclient</artifactId>
  93. <version>4.5.6</version>
  94. </dependency>
  95. <!-- 阿里巴巴json -->
  96. <dependency>
  97. <groupId>com.alibaba</groupId>
  98. <artifactId>fastjson</artifactId>
  99. <version>1.2.37</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.google.code.gson</groupId>
  103. <artifactId>gson</artifactId>
  104. </dependency>
  105. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  106. <groupId>org.springframework</groupId>
  107. <artifactId>spring-context-support</artifactId>
  108. </dependency>
  109. <!-- 日志-->
  110. <dependency>
  111. <groupId>ch.qos.logback</groupId>
  112. <artifactId>logback-classic</artifactId>
  113. </dependency>
  114. <!--quartz定时任务-->
  115. <dependency>
  116. <groupId>org.quartz-scheduler</groupId>
  117. <artifactId>quartz</artifactId>
  118. <version>2.3.0</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-starter-test</artifactId>
  123. </dependency>
  124. <!-- 二维码包-->
  125. <dependency>
  126. <groupId>com.google.zxing</groupId>
  127. <artifactId>core</artifactId>
  128. <version>3.3.1</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.google.zxing</groupId>
  132. <artifactId>javase</artifactId>
  133. <version>3.3.1</version>
  134. </dependency>
  135. <!-- 二维码包end-->
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-data-redis</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.session</groupId>
  142. <artifactId>spring-session-data-redis</artifactId>
  143. </dependency>
  144. </dependencies>
  145. <dependencyManagement>
  146. <dependencies>
  147. <dependency>
  148. <groupId>org.springframework.cloud</groupId>
  149. <artifactId>spring-cloud-dependencies</artifactId>
  150. <version>${spring-cloud.version}</version>
  151. <type>pom</type>
  152. <scope>import</scope>
  153. </dependency>
  154. </dependencies>
  155. </dependencyManagement>
  156. <build>
  157. <finalName>${project.artifactId}</finalName>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot-maven-plugin</artifactId>
  162. </plugin>
  163. </plugins>
  164. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  165. <resources>
  166. <resource>
  167. <directory>src/main/java</directory>
  168. <includes>
  169. <include>**/*.properties</include>
  170. <include>**/*.xml</include>
  171. </includes>
  172. <!--<filtering>false</filtering>-->
  173. </resource>
  174. <resource>
  175. <directory>src/main/resources</directory>
  176. </resource>
  177. </resources>
  178. </build>
  179. <repositories>
  180. <repository>
  181. <id>spring-milestones</id>
  182. <name>Spring Milestones</name>
  183. <url>https://repo.spring.io/milestone</url>
  184. <snapshots>
  185. <enabled>false</enabled>
  186. </snapshots>
  187. </repository>
  188. </repositories>
  189. </project>