pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. <skipTests>true</skipTests>
  31. <java.version>1.8</java.version>
  32. <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
  33. <!--<rocketmq-starter.version>2.2.1</rocketmq-starter.version>-->
  34. </properties>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-aop</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-starter-config</artifactId>
  47. </dependency>
  48. <!--添加webservice-->
  49. <dependency>
  50. <groupId>org.apache.cxf</groupId>
  51. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  52. <version>3.2.4</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web-services</artifactId>
  57. </dependency>
  58. <!--添加webservice end-->
  59. <dependency>
  60. <groupId>org.mybatis.spring.boot</groupId>
  61. <artifactId>mybatis-spring-boot-starter</artifactId>
  62. <version>1.3.1</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>mysql</groupId>
  66. <artifactId>mysql-connector-java</artifactId>
  67. </dependency>
  68. <!-- 引入spring boot自带的pagehelper插件 -->
  69. <dependency>
  70. <groupId>com.github.pagehelper</groupId>
  71. <artifactId>pagehelper-spring-boot-starter</artifactId>
  72. <version>1.2.3</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.cloud</groupId>
  76. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.commons</groupId>
  80. <artifactId>commons-lang3</artifactId>
  81. </dependency>
  82. <!-- swagger2 -->
  83. <dependency>
  84. <groupId>io.springfox</groupId>
  85. <artifactId>springfox-swagger2</artifactId>
  86. <version>2.6.1</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-swagger-ui</artifactId>
  91. <version>2.6.1</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-test</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.poi</groupId>
  99. <artifactId>poi-ooxml</artifactId>
  100. <version>3.9</version>
  101. </dependency>
  102. <!--httpClient-->
  103. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  104. <dependency>
  105. <groupId>org.apache.httpcomponents</groupId>
  106. <artifactId>httpclient</artifactId>
  107. <version>4.5.6</version>
  108. </dependency>
  109. <!-- 阿里巴巴json -->
  110. <dependency>
  111. <groupId>com.alibaba</groupId>
  112. <artifactId>fastjson</artifactId>
  113. <version>1.2.37</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.google.code.gson</groupId>
  117. <artifactId>gson</artifactId>
  118. </dependency>
  119. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  120. <groupId>org.springframework</groupId>
  121. <artifactId>spring-context-support</artifactId>
  122. </dependency>
  123. <!-- 日志-->
  124. <dependency>
  125. <groupId>ch.qos.logback</groupId>
  126. <artifactId>logback-classic</artifactId>
  127. </dependency>
  128. <!--quartz定时任务-->
  129. <dependency>
  130. <groupId>org.quartz-scheduler</groupId>
  131. <artifactId>quartz</artifactId>
  132. <version>2.3.0</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.smslib</groupId>
  136. <artifactId>smslib</artifactId>
  137. <version>3.5.4</version>
  138. <!--<scope>system</scope>
  139. <systemPath>${project.basedir}/src/main/resources/smslib-3.5.4.jar</systemPath>-->
  140. </dependency>
  141. <dependency>
  142. <groupId>gun.RXTXcomm</groupId>
  143. <artifactId>RXTXcomm</artifactId>
  144. <version>2.0.1</version>
  145. <!--<scope>system</scope>
  146. <systemPath>${project.basedir}/src/main/resources/RXTXcomm-2.0.1.jar</systemPath>-->
  147. </dependency>
  148. <!--短信发送平台jar包-->
  149. <dependency>
  150. <groupId>org.projectlombok</groupId>
  151. <artifactId>lombok</artifactId>
  152. <optional>true</optional>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-starter-data-redis</artifactId>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework.session</groupId>
  160. <artifactId>spring-session-data-redis</artifactId>
  161. </dependency>
  162. <!-- rocketmq -->
  163. <!--<dependency>
  164. <groupId>org.apache.rocketmq</groupId>
  165. <artifactId>rocketmq-spring-boot-starter</artifactId>
  166. <version>${rocketmq-starter.version}</version>
  167. </dependency>-->
  168. </dependencies>
  169. <dependencyManagement>
  170. <dependencies>
  171. <dependency>
  172. <groupId>org.springframework.cloud</groupId>
  173. <artifactId>spring-cloud-dependencies</artifactId>
  174. <version>${spring-cloud.version}</version>
  175. <type>pom</type>
  176. <scope>import</scope>
  177. </dependency>
  178. </dependencies>
  179. </dependencyManagement>
  180. <build>
  181. <finalName>${project.artifactId}</finalName>
  182. <plugins>
  183. <plugin>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-maven-plugin</artifactId>
  186. </plugin>
  187. <!--<plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-jar-plugin</artifactId>
  190. <version>2.6</version>
  191. <configuration>
  192. <failOnMissingWebXml>false</failOnMissingWebXml>
  193. </configuration>
  194. </plugin>-->
  195. </plugins>
  196. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  197. <resources>
  198. <resource>
  199. <directory>src/main/java</directory>
  200. <includes>
  201. <include>**/*.properties</include>
  202. <include>**/*.xml</include>
  203. </includes>
  204. <!--<filtering>false</filtering>-->
  205. </resource>
  206. <resource>
  207. <directory>src/main/resources</directory>
  208. </resource>
  209. </resources>
  210. </build>
  211. <repositories>
  212. <repository>
  213. <id>spring-milestones</id>
  214. <name>Spring Milestones</name>
  215. <url>https://repo.spring.io/milestone</url>
  216. <snapshots>
  217. <enabled>false</enabled>
  218. </snapshots>
  219. </repository>
  220. </repositories>
  221. </project>