pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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.2.8.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.usk</groupId>
  12. <artifactId>dxtop</artifactId>
  13. <version>0.0.1</version>
  14. <name>dxtop</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. <exclusions>
  24. <exclusion>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-logging</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter</artifactId>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-logging</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.projectlombok</groupId>
  47. <artifactId>lombok</artifactId>
  48. <optional>true</optional>
  49. </dependency>
  50. <!-- mybatis plus 代码生成器 -->
  51. <dependency>
  52. <groupId>com.baomidou</groupId>
  53. <artifactId>mybatis-plus-boot-starter</artifactId>
  54. <version>3.3.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  59. <version>3.3.1</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>mysql</groupId>
  63. <artifactId>mysql-connector-java</artifactId>
  64. <scope>runtime</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.alibaba</groupId>
  68. <artifactId>druid-spring-boot-starter</artifactId>
  69. <version>1.1.22</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.commons</groupId>
  73. <artifactId>commons-csv</artifactId>
  74. <version>1.4</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-text</artifactId>
  79. <version>1.9</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-configuration-processor</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-log4j2</artifactId>
  88. <version>2.6.2</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.google.zxing</groupId>
  92. <artifactId>core</artifactId>
  93. <version>3.3.0</version>
  94. </dependency>
  95. <!-- spring security 安全认证 -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-security</artifactId>
  99. </dependency>
  100. <!-- pagehelper 分页插件 -->
  101. <dependency>
  102. <groupId>com.github.pagehelper</groupId>
  103. <artifactId>pagehelper-spring-boot-starter</artifactId>
  104. <version>1.3.1</version>
  105. </dependency>
  106. <!-- 自定义验证注解 -->
  107. <dependency>
  108. <groupId>javax.validation</groupId>
  109. <artifactId>validation-api</artifactId>
  110. </dependency>
  111. <!--常用工具类 -->
  112. <dependency>
  113. <groupId>org.apache.commons</groupId>
  114. <artifactId>commons-lang3</artifactId>
  115. </dependency>
  116. <!-- JSON工具类 -->
  117. <dependency>
  118. <groupId>com.fasterxml.jackson.core</groupId>
  119. <artifactId>jackson-databind</artifactId>
  120. </dependency>
  121. <!-- 阿里JSON解析器 -->
  122. <dependency>
  123. <groupId>com.alibaba</groupId>
  124. <artifactId>fastjson</artifactId>
  125. <version>1.2.76</version>
  126. </dependency>
  127. <!-- io常用工具类 -->
  128. <dependency>
  129. <groupId>commons-io</groupId>
  130. <artifactId>commons-io</artifactId>
  131. <version>2.11.0</version>
  132. </dependency>
  133. <!-- 文件上传工具类 -->
  134. <dependency>
  135. <groupId>commons-fileupload</groupId>
  136. <artifactId>commons-fileupload</artifactId>
  137. <version>1.4</version>
  138. </dependency>
  139. <!-- excel工具 -->
  140. <dependency>
  141. <groupId>org.apache.poi</groupId>
  142. <artifactId>poi-ooxml</artifactId>
  143. <version>4.1.2</version>
  144. </dependency>
  145. <!-- yml解析器 -->
  146. <dependency>
  147. <groupId>org.yaml</groupId>
  148. <artifactId>snakeyaml</artifactId>
  149. </dependency>
  150. <!--Token生成与解析-->
  151. <dependency>
  152. <groupId>io.jsonwebtoken</groupId>
  153. <artifactId>jjwt</artifactId>
  154. <version>0.9.1</version>
  155. </dependency>
  156. <!-- redis 缓存操作 -->
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-starter-data-redis</artifactId>
  160. </dependency>
  161. <!-- pool 对象池 -->
  162. <dependency>
  163. <groupId>org.apache.commons</groupId>
  164. <artifactId>commons-pool2</artifactId>
  165. </dependency>
  166. <!-- 解析客户端操作系统、浏览器等 -->
  167. <dependency>
  168. <groupId>eu.bitwalker</groupId>
  169. <artifactId>UserAgentUtils</artifactId>
  170. <version>1.21</version>
  171. </dependency>
  172. <!-- servlet包 -->
  173. <dependency>
  174. <groupId>javax.servlet</groupId>
  175. <artifactId>javax.servlet-api</artifactId>
  176. </dependency>
  177. <!-- 验证码 -->
  178. <dependency>
  179. <groupId>com.github.penggle</groupId>
  180. <artifactId>kaptcha</artifactId>
  181. <exclusions>
  182. <exclusion>
  183. <artifactId>javax.servlet-api</artifactId>
  184. <groupId>javax.servlet</groupId>
  185. </exclusion>
  186. </exclusions>
  187. <version>2.3.2</version>
  188. </dependency>
  189. <!-- 获取系统信息 -->
  190. <dependency>
  191. <groupId>com.github.oshi</groupId>
  192. <artifactId>oshi-core</artifactId>
  193. <version>5.8.0</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.baomidou</groupId>
  197. <artifactId>mybatis-plus-generator</artifactId>
  198. <version>3.3.0</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.apache.velocity</groupId>
  202. <artifactId>velocity-engine-core</artifactId>
  203. <version>2.1</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>io.swagger</groupId>
  207. <artifactId>swagger-annotations</artifactId>
  208. <version>1.5.13</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>cn.afterturn</groupId>
  212. <artifactId>easypoi-spring-boot-starter</artifactId>
  213. <version>4.1.0</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>ma.glasnost.orika</groupId>
  217. <artifactId>orika-core</artifactId>
  218. <version>1.5.4</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.springframework.boot</groupId>
  222. <artifactId>spring-boot-starter-amqp</artifactId>
  223. </dependency>
  224. <!-- 定时任务 -->
  225. <dependency>
  226. <groupId>org.quartz-scheduler</groupId>
  227. <artifactId>quartz</artifactId>
  228. <exclusions>
  229. <exclusion>
  230. <groupId>com.mchange</groupId>
  231. <artifactId>c3p0</artifactId>
  232. </exclusion>
  233. </exclusions>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.springframework</groupId>
  237. <artifactId>spring-test</artifactId>
  238. <version>5.1.6.RELEASE</version>
  239. <scope>compile</scope>
  240. </dependency>
  241. </dependencies>
  242. <build>
  243. <finalName>dxtop</finalName>
  244. <plugins>
  245. <plugin>
  246. <groupId>org.springframework.boot</groupId>
  247. <artifactId>spring-boot-maven-plugin</artifactId>
  248. </plugin>
  249. <plugin>
  250. <groupId>com.github.shalousun</groupId>
  251. <artifactId>smart-doc-maven-plugin</artifactId>
  252. <version>2.1.1</version>
  253. <configuration>
  254. <!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
  255. <configFile>./src/main/resources/smart-doc.json</configFile>
  256. <!--指定项目名称-->
  257. <projectName>test</projectName>
  258. <!-- <excludes>-->
  259. <!-- <exclude>com.bizmatics:product-service-provider</exclude>-->
  260. <!-- <exclude>cn.afterturn:easypoi-web</exclude>-->
  261. <!-- </excludes>-->
  262. </configuration>
  263. </plugin>
  264. <!--添加配置跳过测试-->
  265. <plugin>
  266. <groupId>org.apache.maven.plugins</groupId>
  267. <artifactId>maven-surefire-plugin</artifactId>
  268. <version>2.22.1</version>
  269. <configuration>
  270. <skipTests>true</skipTests>
  271. </configuration>
  272. </plugin>
  273. <!--添加配置跳过测试-->
  274. </plugins>
  275. </build>
  276. </project>