pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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-monitor</artifactId>
  7. <version>0.0.1</version>
  8. <packaging>jar</packaging>
  9. <name>depot-monitor</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.springframework.cloud</groupId>
  30. <artifactId>spring-cloud-starter-config</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.mybatis.spring.boot</groupId>
  34. <artifactId>mybatis-spring-boot-starter</artifactId>
  35. <version>1.3.1</version>
  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.apache.commons</groupId>
  49. <artifactId>commons-lang3</artifactId>
  50. <version>3.7</version>
  51. </dependency>
  52. <!-- <dependency>
  53. <groupId>org.activiti</groupId>
  54. <artifactId>activiti-spring-boot-starter-basic</artifactId>
  55. <version>6.0.0</version>
  56. </dependency> -->
  57. <!-- swagger2 -->
  58. <dependency>
  59. <groupId>io.springfox</groupId>
  60. <artifactId>springfox-swagger2</artifactId>
  61. <version>2.6.1</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.springfox</groupId>
  65. <artifactId>springfox-swagger-ui</artifactId>
  66. <version>2.6.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-data-redis</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.session</groupId>
  78. <artifactId>spring-session-data-redis</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-test</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <!--发送短信jar包-->
  86. <dependency>
  87. <groupId>org.smslib</groupId>
  88. <artifactId>smslib</artifactId>
  89. <version>3.5.4</version>
  90. <scope>system</scope>
  91. <systemPath>${project.basedir}/src/main/resources/smslib-3.5.4.jar</systemPath>
  92. </dependency>
  93. <dependency>
  94. <groupId>gun.RXTXcomm</groupId>
  95. <artifactId>RXTXcomm</artifactId>
  96. <version>2.0.1</version>
  97. <scope>system</scope>
  98. <systemPath>${project.basedir}/src/main/resources/RXTXcomm-2.0.1.jar</systemPath>
  99. </dependency>
  100. <!--短信发送平台jar包-->
  101. <dependency>
  102. <groupId>org.projectlombok</groupId>
  103. <artifactId>lombok</artifactId>
  104. <optional>true</optional>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.poi</groupId>
  108. <artifactId>poi-ooxml</artifactId>
  109. <version>3.9</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.google.code.gson</groupId>
  113. <artifactId>gson</artifactId>
  114. <version>2.8.2</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-tomcat</artifactId>
  119. <scope>provided</scope>
  120. </dependency>
  121. <!-- 定时需要的jar包 -->
  122. <dependency>
  123. <groupId>org.quartz-scheduler</groupId>
  124. <artifactId>quartz</artifactId>
  125. <version>2.2.1</version>
  126. <exclusions>
  127. <exclusion>
  128. <artifactId>slf4j-api</artifactId>
  129. <groupId>org.slf4j</groupId>
  130. </exclusion>
  131. </exclusions>
  132. </dependency>
  133. <dependency><!-- 该依赖必加,里面有sping对schedule的支持 -->
  134. <groupId>org.springframework</groupId>
  135. <artifactId>spring-context-support</artifactId>
  136. </dependency>
  137. <!-- 定时需要的jar包 end -->
  138. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  139. <dependency>
  140. <groupId>log4j</groupId>
  141. <artifactId>log4j</artifactId>
  142. <version>1.2.17</version>
  143. </dependency>
  144. <!-- 阿里巴巴json -->
  145. <dependency>
  146. <groupId>com.alibaba</groupId>
  147. <artifactId>fastjson</artifactId>
  148. <version>1.2.37</version>
  149. </dependency>
  150. </dependencies>
  151. <dependencyManagement>
  152. <dependencies>
  153. <dependency>
  154. <groupId>org.springframework.cloud</groupId>
  155. <artifactId>spring-cloud-dependencies</artifactId>
  156. <version>${spring-cloud.version}</version>
  157. <type>pom</type>
  158. <scope>import</scope>
  159. </dependency>
  160. </dependencies>
  161. </dependencyManagement>
  162. <build>
  163. <finalName>${project.artifactId}</finalName>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-maven-plugin</artifactId>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-surefire-plugin</artifactId>
  172. <configuration>
  173. <skip>true</skip>
  174. </configuration>
  175. </plugin>
  176. </plugins>
  177. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  178. <resources>
  179. <resource>
  180. <directory>src/main/java</directory>
  181. <includes>
  182. <include>**/*.properties</include>
  183. <include>**/*.xml</include>
  184. <include>**/*.store</include>
  185. </includes>
  186. <filtering>false</filtering>
  187. </resource>
  188. <resource>
  189. <directory>src/main/resources</directory>
  190. </resource>
  191. </resources>
  192. </build>
  193. <repositories>
  194. <repository>
  195. <id>spring-milestones</id>
  196. <name>Spring Milestones</name>
  197. <url>https://repo.spring.io/milestone</url>
  198. <snapshots>
  199. <enabled>false</enabled>
  200. </snapshots>
  201. </repository>
  202. </repositories>
  203. </project>