pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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. <exclusions>
  89. <exclusion>
  90. <groupId>org.apache.logging.log4j</groupId>
  91. <artifactId>log4j-api</artifactId>
  92. </exclusion>
  93. <exclusion>
  94. <groupId>org.apache.logging.log4j</groupId>
  95. <artifactId>log4j-core</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.logging.log4j</groupId>
  101. <artifactId>log4j-api</artifactId>
  102. <version>2.17.2</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.logging.log4j</groupId>
  106. <artifactId>log4j-core</artifactId>
  107. <version>2.17.2</version>
  108. <exclusions>
  109. <exclusion>
  110. <artifactId>log4j-api</artifactId>
  111. <groupId>org.apache.logging.log4j</groupId>
  112. </exclusion>
  113. </exclusions>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.google.zxing</groupId>
  117. <artifactId>core</artifactId>
  118. <version>3.3.0</version>
  119. </dependency>
  120. <!-- spring security 安全认证 -->
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-security</artifactId>
  124. </dependency>
  125. <!-- pagehelper 分页插件 -->
  126. <dependency>
  127. <groupId>com.github.pagehelper</groupId>
  128. <artifactId>pagehelper-spring-boot-starter</artifactId>
  129. <version>1.3.1</version>
  130. </dependency>
  131. <!-- 自定义验证注解 -->
  132. <dependency>
  133. <groupId>javax.validation</groupId>
  134. <artifactId>validation-api</artifactId>
  135. </dependency>
  136. <!--常用工具类 -->
  137. <dependency>
  138. <groupId>org.apache.commons</groupId>
  139. <artifactId>commons-lang3</artifactId>
  140. </dependency>
  141. <!-- JSON工具类 -->
  142. <dependency>
  143. <groupId>com.fasterxml.jackson.core</groupId>
  144. <artifactId>jackson-databind</artifactId>
  145. </dependency>
  146. <!-- 阿里JSON解析器 -->
  147. <dependency>
  148. <groupId>com.alibaba</groupId>
  149. <artifactId>fastjson</artifactId>
  150. <version>1.2.76</version>
  151. </dependency>
  152. <!-- io常用工具类 -->
  153. <dependency>
  154. <groupId>commons-io</groupId>
  155. <artifactId>commons-io</artifactId>
  156. <version>2.11.0</version>
  157. </dependency>
  158. <!-- 文件上传工具类 -->
  159. <dependency>
  160. <groupId>commons-fileupload</groupId>
  161. <artifactId>commons-fileupload</artifactId>
  162. <version>1.4</version>
  163. </dependency>
  164. <!-- excel工具 -->
  165. <dependency>
  166. <groupId>org.apache.poi</groupId>
  167. <artifactId>poi-ooxml</artifactId>
  168. <version>4.1.2</version>
  169. </dependency>
  170. <!-- yml解析器 -->
  171. <dependency>
  172. <groupId>org.yaml</groupId>
  173. <artifactId>snakeyaml</artifactId>
  174. </dependency>
  175. <!--Token生成与解析-->
  176. <dependency>
  177. <groupId>io.jsonwebtoken</groupId>
  178. <artifactId>jjwt</artifactId>
  179. <version>0.9.1</version>
  180. </dependency>
  181. <!-- redis 缓存操作 -->
  182. <dependency>
  183. <groupId>org.springframework.boot</groupId>
  184. <artifactId>spring-boot-starter-data-redis</artifactId>
  185. </dependency>
  186. <!-- pool 对象池 -->
  187. <dependency>
  188. <groupId>org.apache.commons</groupId>
  189. <artifactId>commons-pool2</artifactId>
  190. </dependency>
  191. <!-- 解析客户端操作系统、浏览器等 -->
  192. <dependency>
  193. <groupId>eu.bitwalker</groupId>
  194. <artifactId>UserAgentUtils</artifactId>
  195. <version>1.21</version>
  196. </dependency>
  197. <!-- servlet包 -->
  198. <dependency>
  199. <groupId>javax.servlet</groupId>
  200. <artifactId>javax.servlet-api</artifactId>
  201. </dependency>
  202. <!-- 验证码 -->
  203. <dependency>
  204. <groupId>com.github.penggle</groupId>
  205. <artifactId>kaptcha</artifactId>
  206. <exclusions>
  207. <exclusion>
  208. <artifactId>javax.servlet-api</artifactId>
  209. <groupId>javax.servlet</groupId>
  210. </exclusion>
  211. </exclusions>
  212. <version>2.3.2</version>
  213. </dependency>
  214. <!-- 获取系统信息 -->
  215. <dependency>
  216. <groupId>com.github.oshi</groupId>
  217. <artifactId>oshi-core</artifactId>
  218. <version>5.8.0</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.baomidou</groupId>
  222. <artifactId>mybatis-plus-generator</artifactId>
  223. <version>3.3.0</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.apache.velocity</groupId>
  227. <artifactId>velocity-engine-core</artifactId>
  228. <version>2.1</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>io.swagger</groupId>
  232. <artifactId>swagger-annotations</artifactId>
  233. <version>1.5.13</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>cn.afterturn</groupId>
  237. <artifactId>easypoi-spring-boot-starter</artifactId>
  238. <version>4.1.0</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>ma.glasnost.orika</groupId>
  242. <artifactId>orika-core</artifactId>
  243. <version>1.5.4</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.springframework.boot</groupId>
  247. <artifactId>spring-boot-starter-amqp</artifactId>
  248. </dependency>
  249. <!-- 定时任务 -->
  250. <dependency>
  251. <groupId>org.quartz-scheduler</groupId>
  252. <artifactId>quartz</artifactId>
  253. <exclusions>
  254. <exclusion>
  255. <groupId>com.mchange</groupId>
  256. <artifactId>c3p0</artifactId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.springframework</groupId>
  262. <artifactId>spring-test</artifactId>
  263. <version>5.1.6.RELEASE</version>
  264. <scope>compile</scope>
  265. </dependency>
  266. </dependencies>
  267. <build>
  268. <finalName>dxtop</finalName>
  269. <plugins>
  270. <plugin>
  271. <groupId>org.springframework.boot</groupId>
  272. <artifactId>spring-boot-maven-plugin</artifactId>
  273. </plugin>
  274. <plugin>
  275. <groupId>com.github.shalousun</groupId>
  276. <artifactId>smart-doc-maven-plugin</artifactId>
  277. <version>2.1.1</version>
  278. <configuration>
  279. <!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
  280. <configFile>./src/main/resources/smart-doc.json</configFile>
  281. <!--指定项目名称-->
  282. <projectName>test</projectName>
  283. <!-- <excludes>-->
  284. <!-- <exclude>com.bizmatics:product-service-provider</exclude>-->
  285. <!-- <exclude>cn.afterturn:easypoi-web</exclude>-->
  286. <!-- </excludes>-->
  287. </configuration>
  288. </plugin>
  289. <!--添加配置跳过测试-->
  290. <plugin>
  291. <groupId>org.apache.maven.plugins</groupId>
  292. <artifactId>maven-surefire-plugin</artifactId>
  293. <version>2.22.1</version>
  294. <configuration>
  295. <skipTests>true</skipTests>
  296. </configuration>
  297. </plugin>
  298. <!--添加配置跳过测试-->
  299. </plugins>
  300. </build>
  301. </project>