pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  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.12.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <repositories>
  12. <repository>
  13. <id>com.e-iceblue</id>
  14. <url>https://repo.e-iceblue.cn/repository/maven-public</url>
  15. </repository>
  16. </repositories>
  17. <groupId>com.liang</groupId>
  18. <artifactId>KYGK</artifactId>
  19. <version>1.0-KYGK</version>
  20. <packaging>jar</packaging>
  21. <description>KYGK project for Spring Boot</description>
  22. <properties>
  23. <maven.compiler.source>8</maven.compiler.source>
  24. <maven.compiler.target>8</maven.compiler.target>
  25. <java.version>1.8</java.version>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  28. <mybatis.version>2.2.0</mybatis.version>
  29. <pagehelper.version>1.2.13</pagehelper.version>
  30. <druid.version>1.2.8</druid.version>
  31. <knife4j.version>2.0.5</knife4j.version>
  32. <swagger-ui>2.9.2</swagger-ui>
  33. <jasypt.version>2.1.1</jasypt.version>
  34. <commons-text.version>1.9</commons-text.version>
  35. <commons-collections4.version>4.4</commons-collections4.version>
  36. <commons-pool2.version>2.6.0</commons-pool2.version>
  37. <commons-beanutils.version>1.9.4</commons-beanutils.version>
  38. <poi.version>4.1.2</poi.version>
  39. <commons-fileupload.version>1.3.3</commons-fileupload.version>
  40. <httpclient.version>4.5.13</httpclient.version>
  41. <qiniu-sdk.version>7.2.29</qiniu-sdk.version>
  42. <okhttp.version>3.14.7</okhttp.version>
  43. <oshi.version>5.8.3</oshi.version>
  44. <jna.version>5.9.0</jna.version>
  45. <minio.version>8.1.0</minio.version>
  46. <oss.version>3.9.1</oss.version>
  47. <itext-asian.version>5.2.0</itext-asian.version>
  48. <itextpdf.version>5.2.0</itextpdf.version>
  49. <UserAgentUtils.version>1.21</UserAgentUtils.version>
  50. <jsonwebtoken.version>0.9.1</jsonwebtoken.version>
  51. <redisson.version>3.15.4</redisson.version>
  52. <captcha.version>1.3.0</captcha.version>
  53. <kaptcha.version>2.3.2</kaptcha.version>
  54. <caffeine.version>2.9.1</caffeine.version>
  55. </properties>
  56. <dependencies>
  57. <dependency>
  58. <groupId>org.apache.shiro</groupId>
  59. <artifactId>shiro-core</artifactId>
  60. <version>1.7.1</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.shiro</groupId>
  64. <artifactId>shiro-spring</artifactId>
  65. <version>1.7.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.github.tobato</groupId>
  69. <artifactId>fastdfs-client</artifactId>
  70. <version>1.26.1-RELEASE</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.json</groupId>
  74. <artifactId>json</artifactId>
  75. <version>20090211</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-data-redis</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-test</artifactId>
  84. <scope>test</scope>
  85. <exclusions>
  86. <exclusion>
  87. <groupId>org.junit.vintage</groupId>
  88. <artifactId>junit-vintage-engine</artifactId>
  89. </exclusion>
  90. </exclusions>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-actuator</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-jdbc</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-aop</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-web</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.mybatis.spring.boot</groupId>
  114. <artifactId>mybatis-spring-boot-starter</artifactId>
  115. <version>2.1.4</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.mybatis.generator</groupId>
  119. <artifactId>mybatis-generator-core</artifactId>
  120. <version>1.4.0</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.mybatis.generator</groupId>
  124. <artifactId>mybatis-generator-maven-plugin</artifactId>
  125. <version>1.4.0</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-devtools</artifactId>
  130. <scope>runtime</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-tomcat</artifactId>
  135. <scope>provided</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>net.sourceforge.jtds</groupId>
  139. <artifactId>jtds</artifactId>
  140. <version>1.3.1</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>io.springfox</groupId>
  144. <artifactId>springfox-swagger2</artifactId>
  145. <version>2.9.2</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>io.springfox</groupId>
  149. <artifactId>springfox-swagger-ui</artifactId>
  150. <version>2.9.2</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>io.swagger</groupId>
  154. <artifactId>swagger-annotations</artifactId>
  155. <version>1.5.22</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>io.swagger</groupId>
  159. <artifactId>swagger-models</artifactId>
  160. <version>1.5.22</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.anji-plus</groupId>
  164. <artifactId>spring-boot-starter-captcha</artifactId>
  165. <version>${captcha.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.xhtmlrenderer</groupId>
  169. <artifactId>flying-saucer-pdf</artifactId>
  170. <version>9.0.9</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.poi</groupId>
  174. <artifactId>poi-scratchpad</artifactId>
  175. <version>4.1.2</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.springframework.boot</groupId>
  179. <artifactId>spring-boot-starter-freemarker</artifactId>
  180. </dependency>
  181. <!--注解读取application-->
  182. <dependency>
  183. <groupId>org.springframework.boot</groupId>
  184. <artifactId>spring-boot-configuration-processor</artifactId>
  185. <optional>true</optional>
  186. </dependency>
  187. <!-- commons-collections4工具包 -->
  188. <dependency>
  189. <groupId>org.apache.commons</groupId>
  190. <artifactId>commons-collections4</artifactId>
  191. <version>${commons-collections4.version}</version>
  192. </dependency>
  193. <!-- druid数据库连接池 -->
  194. <!-- <dependency>-->
  195. <!-- <groupId>com.alibaba</groupId>-->
  196. <!-- <artifactId>druid-spring-boot-starter</artifactId>-->
  197. <!-- <version>${druid.version}</version>-->
  198. <!-- </dependency>-->
  199. <!--分布式redis锁-->
  200. <dependency>
  201. <groupId>org.redisson</groupId>
  202. <artifactId>redisson</artifactId>
  203. <version>${redisson.version}</version>
  204. </dependency>
  205. <!-- mybatis pagehelper分页插件 -->
  206. <dependency>
  207. <groupId>com.github.pagehelper</groupId>
  208. <artifactId>pagehelper-spring-boot-starter</artifactId>
  209. <version>${pagehelper.version}</version>
  210. </dependency>
  211. <!-- kaptcha文字验证码工具包 -->
  212. <dependency>
  213. <groupId>com.github.penggle</groupId>
  214. <artifactId>kaptcha</artifactId>
  215. <version>${kaptcha.version}</version>
  216. </dependency>
  217. <!-- 获取系统信息相关依赖开始 -->
  218. <dependency>
  219. <groupId>com.github.oshi</groupId>
  220. <artifactId>oshi-core</artifactId>
  221. <version>${oshi.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>net.java.dev.jna</groupId>
  225. <artifactId>jna</artifactId>
  226. <version>${jna.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>net.java.dev.jna</groupId>
  230. <artifactId>jna-platform</artifactId>
  231. <version>${jna.version}</version>
  232. </dependency>
  233. <!-- 获取系统信息相关依赖结束 -->
  234. <!-- 本地jvm级别缓存 -->
  235. <dependency>
  236. <groupId>com.github.ben-manes.caffeine</groupId>
  237. <artifactId>caffeine</artifactId>
  238. <version>${caffeine.version}</version>
  239. </dependency>
  240. <!-- httpclient网络请求工具包 -->
  241. <dependency>
  242. <groupId>org.apache.httpcomponents</groupId>
  243. <artifactId>httpclient</artifactId>
  244. <version>${httpclient.version}</version>
  245. </dependency>
  246. <!-- JWT依赖,用于生成token -->
  247. <dependency>
  248. <groupId>io.jsonwebtoken</groupId>
  249. <artifactId>jjwt</artifactId>
  250. <version>${jsonwebtoken.version}</version>
  251. </dependency>
  252. <!-- knife4j插件,用于代替swagger -->
  253. <!-- Knife4j本身已经引入了springfox,开发者在使用时不用再单独引入Springfox的具体版本 -->
  254. <dependency>
  255. <groupId>com.github.xiaoymin</groupId>
  256. <artifactId>knife4j-spring-boot-starter</artifactId>
  257. <version>${knife4j.version}</version>
  258. </dependency>
  259. <!-- commons-pool2池化工具包 -->
  260. <dependency>
  261. <groupId>org.apache.commons</groupId>
  262. <artifactId>commons-pool2</artifactId>
  263. <version>${commons-pool2.version}</version>
  264. </dependency>
  265. <!-- commons-fileupload上传工具包 -->
  266. <dependency>
  267. <groupId>commons-fileupload</groupId>
  268. <artifactId>commons-fileupload</artifactId>
  269. <version>${commons-fileupload.version}</version>
  270. </dependency>
  271. <!-- commons-beanutils工具包 -->
  272. <dependency>
  273. <groupId>commons-beanutils</groupId>
  274. <artifactId>commons-beanutils</artifactId>
  275. <version>${commons-beanutils.version}</version>
  276. </dependency>
  277. <!-- poi工具包 -->
  278. <dependency>
  279. <groupId>org.apache.poi</groupId>
  280. <artifactId>poi</artifactId>
  281. <version>${poi.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.poi</groupId>
  285. <artifactId>poi-ooxml</artifactId>
  286. <version>${poi.version}</version>
  287. </dependency>
  288. <!-- UserAgent获取浏览器信息-->
  289. <dependency>
  290. <groupId>eu.bitwalker</groupId>
  291. <artifactId>UserAgentUtils</artifactId>
  292. <version>${UserAgentUtils.version}</version>
  293. </dependency>
  294. <!-- 配置文件加密组件 -->
  295. <dependency>
  296. <groupId>com.github.ulisesbocchio</groupId>
  297. <artifactId>jasypt-spring-boot-starter</artifactId>
  298. <version>${jasypt.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>e-iceblue</groupId>
  302. <artifactId>spire.doc.free</artifactId>
  303. <version>5.2.0</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>fr.opensagres.xdocreport</groupId>
  307. <artifactId>org.apache.poi.xwpf.converter.pdf</artifactId>
  308. <version>1.0.6</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.slf4j</groupId>
  312. <artifactId>slf4j-api</artifactId>
  313. <version>1.7.25</version>
  314. <scope>compile</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.apache.logging.log4j</groupId>
  318. <artifactId>log4j-api</artifactId>
  319. <version>2.17.0</version>
  320. <scope>compile</scope>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.apache.logging.log4j</groupId>
  324. <artifactId>log4j-core</artifactId>
  325. <version>2.17.0</version>
  326. <scope>compile</scope>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.apache.logging.log4j</groupId>
  330. <artifactId>log4j-slf4j-impl</artifactId>
  331. <version>2.17.0</version>
  332. <scope>compile</scope>
  333. </dependency>
  334. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  335. <dependency>
  336. <groupId>org.projectlombok</groupId>
  337. <artifactId>lombok</artifactId>
  338. <version>1.18.12</version>
  339. <scope>provided</scope>
  340. </dependency>
  341. <dependency>
  342. <groupId>cn.hutool</groupId>
  343. <artifactId>hutool-all</artifactId>
  344. <version>5.8.4</version>
  345. </dependency>
  346. </dependencies>
  347. <build>
  348. <finalName>${project.artifactId}-${project.version}</finalName>
  349. <plugins>
  350. <plugin>
  351. <groupId>org.springframework.boot</groupId>
  352. <artifactId>spring-boot-maven-plugin</artifactId>
  353. <version>2.2.12.RELEASE</version>
  354. <configuration>
  355. <mainClass>com.liang.KYGKApplication</mainClass>
  356. </configuration>
  357. </plugin>
  358. <plugin>
  359. <groupId>org.mybatis.generator</groupId>
  360. <artifactId>mybatis-generator-maven-plugin</artifactId>
  361. <version>1.4.0</version>
  362. <configuration>
  363. <verbose>true</verbose>
  364. <overwrite>true</overwrite>
  365. </configuration>
  366. </plugin>
  367. <plugin>
  368. <groupId>org.apache.maven.plugins</groupId>
  369. <artifactId>maven-compiler-plugin</artifactId>
  370. <version>3.8.1</version>
  371. <configuration>
  372. <source>1.8</source>
  373. <target>1.8</target>
  374. <encoding>UTF-8</encoding>
  375. </configuration>
  376. </plugin>
  377. </plugins>
  378. <resources>
  379. <resource>
  380. <directory>src/main/java</directory>
  381. <includes>
  382. <include>**/*.properties</include>
  383. <include>**/*.xml</include>
  384. <include>**/*.yml</include>
  385. </includes>
  386. <filtering>false</filtering>
  387. </resource>
  388. <resource>
  389. <directory>src/main/resources</directory>
  390. <includes>
  391. <include>**/*.*</include>
  392. <!--<include>**/*.html</include>
  393. <include>**/*.css</include>
  394. <include>**/*.jpg</include>
  395. <include>**/*.png</include>
  396. <include>**/*.js</include>
  397. <include>**/*.properties</include>-->
  398. </includes>
  399. <!-- <excludes>-->
  400. <!-- <exclude>application.yml</exclude>-->
  401. <!-- </excludes>-->
  402. </resource>
  403. </resources>
  404. </build>
  405. </project>