pom.xml 8.0 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.3.12.RELEASE</version>
  17. <relativePath/> <!-- lookup parent from repository -->
  18. </parent>
  19. <!--<distributionManagement>
  20. <repository>
  21. <id>nexus</id>
  22. &lt;!&ndash;名称自己定义&ndash;&gt;
  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>Hoxton.SR12</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-spring-boot-starter-jaxws</artifactId>
  54. <version>3.2.4</version>
  55. </dependency>
  56. <!--添加webservice end-->
  57. <dependency>
  58. <groupId>org.mybatis.spring.boot</groupId>
  59. <artifactId>mybatis-spring-boot-starter</artifactId>
  60. <version>1.3.1</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>mysql</groupId>
  64. <artifactId>mysql-connector-java</artifactId>
  65. </dependency>
  66. <!-- 引入spring boot自带的pagehelper插件 -->
  67. <dependency>
  68. <groupId>com.github.pagehelper</groupId>
  69. <artifactId>pagehelper-spring-boot-starter</artifactId>
  70. <version>1.2.3</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.cloud</groupId>
  74. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-lang3</artifactId>
  79. </dependency>
  80. <!-- swagger2 -->
  81. <dependency>
  82. <groupId>io.springfox</groupId>
  83. <artifactId>springfox-swagger2</artifactId>
  84. <version>2.6.1</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger-ui</artifactId>
  89. <version>2.6.1</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-test</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.poi</groupId>
  97. <artifactId>poi-ooxml</artifactId>
  98. <version>3.9</version>
  99. </dependency>
  100. <!--httpClient-->
  101. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  102. <dependency>
  103. <groupId>org.apache.httpcomponents</groupId>
  104. <artifactId>httpclient</artifactId>
  105. <version>4.5.6</version>
  106. </dependency>
  107. <!-- 阿里巴巴json -->
  108. <dependency>
  109. <groupId>com.alibaba</groupId>
  110. <artifactId>fastjson</artifactId>
  111. <version>1.2.37</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.google.code.gson</groupId>
  115. <artifactId>gson</artifactId>
  116. </dependency>
  117. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  118. <groupId>org.springframework</groupId>
  119. <artifactId>spring-context-support</artifactId>
  120. </dependency>
  121. <!-- 日志-->
  122. <dependency>
  123. <groupId>ch.qos.logback</groupId>
  124. <artifactId>logback-classic</artifactId>
  125. </dependency>
  126. <!--quartz定时任务-->
  127. <dependency>
  128. <groupId>org.quartz-scheduler</groupId>
  129. <artifactId>quartz</artifactId>
  130. <version>2.3.0</version>
  131. </dependency>
  132. <!--短信发送平台jar包-->
  133. <dependency>
  134. <groupId>org.projectlombok</groupId>
  135. <artifactId>lombok</artifactId>
  136. <optional>true</optional>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-data-redis</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springframework.session</groupId>
  144. <artifactId>spring-session-data-redis</artifactId>
  145. </dependency>
  146. <!--http工具包-->
  147. <dependency>
  148. <groupId>org.apache.axis2</groupId>
  149. <artifactId>axis2-transport-http</artifactId>
  150. <version>1.7.8</version>
  151. </dependency>
  152. <!--dom解析-->
  153. <!-- https://mvnrepository.com/artifact/dom4j/dom4j -->
  154. <dependency>
  155. <groupId>dom4j</groupId>
  156. <artifactId>dom4j</artifactId>
  157. <version>1.6.1</version>
  158. </dependency>
  159. </dependencies>
  160. <dependencyManagement>
  161. <dependencies>
  162. <dependency>
  163. <groupId>org.springframework.cloud</groupId>
  164. <artifactId>spring-cloud-dependencies</artifactId>
  165. <version>${spring-cloud.version}</version>
  166. <type>pom</type>
  167. <scope>import</scope>
  168. </dependency>
  169. </dependencies>
  170. </dependencyManagement>
  171. <build>
  172. <finalName>${project.artifactId}</finalName>
  173. <plugins>
  174. <plugin>
  175. <groupId>org.springframework.boot</groupId>
  176. <artifactId>spring-boot-maven-plugin</artifactId>
  177. </plugin>
  178. <!--<plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-jar-plugin</artifactId>
  181. <version>2.6</version>
  182. <configuration>
  183. <failOnMissingWebXml>false</failOnMissingWebXml>
  184. </configuration>
  185. </plugin>-->
  186. </plugins>
  187. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  188. <resources>
  189. <resource>
  190. <directory>src/main/java</directory>
  191. <includes>
  192. <include>**/*.properties</include>
  193. <include>**/*.xml</include>
  194. </includes>
  195. <!--<filtering>false</filtering>-->
  196. </resource>
  197. <resource>
  198. <directory>src/main/resources</directory>
  199. </resource>
  200. </resources>
  201. </build>
  202. <repositories>
  203. <repository>
  204. <id>spring-milestones</id>
  205. <name>Spring Milestones</name>
  206. <url>https://repo.spring.io/milestone</url>
  207. <snapshots>
  208. <enabled>false</enabled>
  209. </snapshots>
  210. </repository>
  211. </repositories>
  212. </project>