pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.sunwin</groupId>
  12. <artifactId>robot2ips</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>robot2ips</name>
  15. <description>upload robot check data to ips system</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <!-- thymeleaf-->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>2.1.4</version>
  33. </dependency>
  34. <!-- lombok-->
  35. <dependency>
  36. <groupId>org.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. <optional>true</optional>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <!-- mybatis启动器-->
  46. <dependency>
  47. <groupId>org.mybatis.spring.boot</groupId>
  48. <artifactId>mybatis-spring-boot-starter</artifactId>
  49. <version>2.1.1</version>
  50. </dependency>
  51. <!--mybatis分页插件-->
  52. <dependency>
  53. <groupId>com.github.pagehelper</groupId>
  54. <artifactId>pagehelper-spring-boot-starter</artifactId>
  55. <version>1.2.5</version>
  56. </dependency>
  57. <!-- mybatis-plus-->
  58. <dependency>
  59. <groupId>com.baomidou</groupId>
  60. <artifactId>mybatis-plus-boot-starter</artifactId>
  61. <version>3.2.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.baomidou</groupId>
  65. <artifactId>mybatis-plus-generator</artifactId>
  66. <version>3.2.0</version>
  67. </dependency>
  68. <!-- 数据库驱动-->
  69. <dependency>
  70. <groupId>mysql</groupId>
  71. <artifactId>mysql-connector-java</artifactId>
  72. <scope>runtime</scope>
  73. </dependency>
  74. <!--数据库连接池-->
  75. <dependency>
  76. <groupId>com.alibaba</groupId>
  77. <artifactId>druid</artifactId>
  78. <version>1.1.8</version>
  79. </dependency>
  80. <!-- Redis依赖-->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-data-redis</artifactId>
  84. </dependency>
  85. <!--swagger用于定义API文档 -->
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger2</artifactId>
  89. <version>2.9.2</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.springfox</groupId>
  93. <artifactId>springfox-swagger-ui</artifactId>
  94. <version>2.9.2</version>
  95. </dependency>
  96. <!--bootstrap ui下的swagger-->
  97. <dependency>
  98. <groupId>com.github.xiaoymin</groupId>
  99. <artifactId>swagger-bootstrap-ui</artifactId>
  100. <version>1.9.6</version>
  101. </dependency>
  102. <!--json处理-->
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>fastjson</artifactId>
  106. <version>1.2.31</version>
  107. </dependency>
  108. <!--日志框架,SpringBoot默认的日志系统logback-->
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-logging</artifactId>
  112. </dependency>
  113. <!-- Apache commons io-->
  114. <dependency>
  115. <groupId>commons-io</groupId>
  116. <artifactId>commons-io</artifactId>
  117. <version>2.8.0</version>
  118. </dependency>
  119. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  120. <dependency>
  121. <groupId>org.apache.commons</groupId>
  122. <artifactId>commons-pool2</artifactId>
  123. </dependency>
  124. <!-- 工具包-->
  125. <dependency>
  126. <groupId>org.apache.commons</groupId>
  127. <artifactId>commons-lang3</artifactId>
  128. <version>3.4</version>
  129. </dependency>
  130. <!-- 最新http协议工具包-->
  131. <dependency>
  132. <groupId>org.apache.httpcomponents</groupId>
  133. <artifactId>httpclient</artifactId>
  134. <version>4.5.13</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-validation</artifactId>
  139. </dependency>
  140. <!-- 切面-->
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-aop</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.aspectj</groupId>
  147. <artifactId>aspectjweaver</artifactId>
  148. <version>1.9.4</version>
  149. </dependency>
  150. <!--poi-->
  151. <dependency>
  152. <groupId>org.apache.poi</groupId>
  153. <artifactId>poi</artifactId>
  154. <version>3.17</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.directory.studio</groupId>
  158. <artifactId>org.apache.commons.io</artifactId>
  159. <version>2.4</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.poi</groupId>
  163. <artifactId>poi-ooxml</artifactId>
  164. <version>3.17</version>
  165. </dependency>
  166. <!--ftp文件上传下载-->
  167. <dependency>
  168. <groupId>commons-net</groupId>
  169. <artifactId>commons-net</artifactId>
  170. <version>3.1</version>
  171. </dependency>
  172. <!-- Netty-->
  173. <dependency>
  174. <groupId>io.netty</groupId>
  175. <artifactId>netty</artifactId>
  176. <version>3.10.6.Final</version>
  177. </dependency>
  178. <!-- DOM操作 -->
  179. <dependency>
  180. <groupId>dom4j</groupId>
  181. <artifactId>dom4j</artifactId>
  182. <version>1.6.1</version>
  183. </dependency>
  184. <!--hutool工具类-->
  185. <dependency>
  186. <groupId>cn.hutool</groupId>
  187. <artifactId>hutool-all</artifactId>
  188. <version>5.0.7</version>
  189. </dependency>
  190. </dependencies>
  191. <build>
  192. <plugins>
  193. <plugin>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-maven-plugin</artifactId>
  196. <configuration>
  197. <!-- 自动导入本地jar包 -->
  198. <includeSystemScope>true</includeSystemScope>
  199. <fork>true</fork>
  200. <excludes>
  201. <exclude>
  202. <groupId>org.projectlombok</groupId>
  203. <artifactId>lombok</artifactId>
  204. </exclude>
  205. </excludes>
  206. </configuration>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-resources-plugin</artifactId>
  211. <!--修改版本-->
  212. <version>3.1.0</version>
  213. </plugin>
  214. <!-- 解决webSocket打包冲突问题 -->
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-surefire-plugin</artifactId>
  218. <configuration>
  219. <skip>true</skip>
  220. </configuration>
  221. </plugin>
  222. </plugins>
  223. </build>
  224. </project>