pom.xml 12 KB

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