pom.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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-intelligent</artifactId>
  8. <version>0.0.1</version>
  9. <packaging>jar</packaging>
  10. <!--<packaging>war</packaging>-->
  11. <name>depot-intelligent</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. <distributionManagement>
  20. <repository>
  21. <id>nexus</id>
  22. <!--名称自己定义-->
  23. <name>release</name>
  24. <url>http://10.10.1.25:8081/repository/host_repository/</url>
  25. </repository>
  26. </distributionManagement>
  27. <properties>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  30. <java.version>1.8</java.version>
  31. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-aop</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-starter-config</artifactId>
  45. </dependency>
  46. <!--添加webservice-->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-web-services</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.cxf</groupId>
  53. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  54. <version>3.1.6</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.cxf</groupId>
  58. <artifactId>cxf-rt-transports-http</artifactId>
  59. <version>3.1.6</version>
  60. </dependency>
  61. <!--添加webservice end-->
  62. <dependency>
  63. <groupId>org.mybatis.spring.boot</groupId>
  64. <artifactId>mybatis-spring-boot-starter</artifactId>
  65. <version>1.3.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>mysql</groupId>
  69. <artifactId>mysql-connector-java</artifactId>
  70. </dependency>
  71. <!-- 引入spring boot自带的pagehelper插件 -->
  72. <dependency>
  73. <groupId>com.github.pagehelper</groupId>
  74. <artifactId>pagehelper-spring-boot-starter</artifactId>
  75. <version>1.2.3</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.commons</groupId>
  83. <artifactId>commons-lang3</artifactId>
  84. </dependency>
  85. <!-- swagger2 -->
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger2</artifactId>
  89. <version>2.6.1</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.springfox</groupId>
  93. <artifactId>springfox-swagger-ui</artifactId>
  94. <version>2.6.1</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-test</artifactId>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.poi</groupId>
  103. <artifactId>poi-ooxml</artifactId>
  104. <version>3.9</version>
  105. </dependency>
  106. <!--httpClient-->
  107. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  108. <dependency>
  109. <groupId>org.apache.httpcomponents</groupId>
  110. <artifactId>httpclient</artifactId>
  111. <version>4.5.6</version>
  112. </dependency>
  113. <!-- 阿里巴巴json -->
  114. <dependency>
  115. <groupId>com.alibaba</groupId>
  116. <artifactId>fastjson</artifactId>
  117. <version>1.2.37</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.google.code.gson</groupId>
  121. <artifactId>gson</artifactId>
  122. </dependency>
  123. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-context-support</artifactId>
  126. </dependency>
  127. <!-- 日志-->
  128. <dependency>
  129. <groupId>ch.qos.logback</groupId>
  130. <artifactId>logback-classic</artifactId>
  131. </dependency>
  132. <!--quartz定时任务-->
  133. <dependency>
  134. <groupId>org.quartz-scheduler</groupId>
  135. <artifactId>quartz</artifactId>
  136. <version>2.3.0</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-test</artifactId>
  141. </dependency>
  142. <!--短信发送平台jar包-->
  143. <dependency>
  144. <groupId>org.projectlombok</groupId>
  145. <artifactId>lombok</artifactId>
  146. <optional>true</optional>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-data-redis</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.session</groupId>
  154. <artifactId>spring-session-data-redis</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. </plugin>
  175. <!--<plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-jar-plugin</artifactId>
  178. <version>2.6</version>
  179. <configuration>
  180. <failOnMissingWebXml>false</failOnMissingWebXml>
  181. </configuration>
  182. </plugin>-->
  183. </plugins>
  184. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  185. <resources>
  186. <resource>
  187. <directory>src/main/java</directory>
  188. <includes>
  189. <include>**/*.properties</include>
  190. <include>**/*.xml</include>
  191. </includes>
  192. <!--<filtering>false</filtering>-->
  193. </resource>
  194. <resource>
  195. <directory>src/main/resources</directory>
  196. </resource>
  197. </resources>
  198. </build>
  199. <repositories>
  200. <repository>
  201. <id>spring-milestones</id>
  202. <name>Spring Milestones</name>
  203. <url>https://repo.spring.io/milestone</url>
  204. <snapshots>
  205. <enabled>false</enabled>
  206. </snapshots>
  207. </repository>
  208. </repositories>
  209. </project>