pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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.7.17</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.fxy</groupId>
  12. <artifactId>fxy</artifactId>
  13. <version>0.0.1</version>
  14. <name>fxy</name>
  15. <description>fxy</description>
  16. <properties>
  17. <java.version>11</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.aspose</groupId>
  22. <artifactId>aspose-words</artifactId>
  23. <version>21.4.0</version>
  24. <scope>system</scope>
  25. <systemPath>${project.basedir}/src/main/resources/lib/aspose-words-21.4.0-jdk17.jar</systemPath>
  26. </dependency>
  27. <!-- Apache PDFBox -->
  28. <dependency>
  29. <groupId>org.apache.pdfbox</groupId>
  30. <artifactId>pdfbox</artifactId>
  31. <version>2.0.27</version>
  32. </dependency>
  33. <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
  34. <dependency>
  35. <groupId>org.freemarker</groupId>
  36. <artifactId>freemarker</artifactId>
  37. <version>2.3.34</version>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>org.apache.commons</groupId>
  41. <artifactId>commons-compress</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  48. </dependency>
  49. <!-- Apache POI -->
  50. <dependency>
  51. <groupId>org.apache.poi</groupId>
  52. <artifactId>poi</artifactId>
  53. <version>5.2.3</version>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-compress</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <!-- poi-scratchpad for PDF conversion -->
  62. <dependency>
  63. <groupId>org.apache.poi</groupId>
  64. <artifactId>poi-scratchpad</artifactId>
  65. <version>5.2.3</version>
  66. <exclusions>
  67. <exclusion>
  68. <groupId>org.apache.commons</groupId>
  69. <artifactId>commons-compress</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.poi</groupId>
  75. <artifactId>poi-ooxml</artifactId>
  76. <version>5.2.3</version>
  77. <exclusions>
  78. <exclusion>
  79. <groupId>org.apache.commons</groupId>
  80. <artifactId>commons-compress</artifactId>
  81. </exclusion>
  82. </exclusions>
  83. </dependency>
  84. <!-- Apache POI OOXML Schemas(必须添加,否则会报CTFldSimple类缺失) -->
  85. <dependency>
  86. <groupId>org.apache.poi</groupId>
  87. <artifactId>poi-ooxml-schemas</artifactId>
  88. <version>4.1.2</version> <!-- 版本需与poi-ooxml兼容 -->
  89. </dependency>
  90. <!-- 图像处理支持 -->
  91. <dependency>
  92. <groupId>com.twelvemonkeys.imageio</groupId>
  93. <artifactId>imageio-jpeg</artifactId>
  94. <version>3.9.4</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.twelvemonkeys.imageio</groupId>
  98. <artifactId>imageio-tiff</artifactId>
  99. <version>3.9.4</version>
  100. </dependency>
  101. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-imaging -->
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-imaging</artifactId>
  105. <version>1.0.0-alpha5</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  108. <dependency>
  109. <groupId>com.alibaba.fastjson2</groupId>
  110. <artifactId>fastjson2</artifactId>
  111. <version>2.0.56</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.commons</groupId>
  115. <artifactId>commons-compress</artifactId>
  116. <version>1.21</version>
  117. </dependency>
  118. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
  119. <dependency>
  120. <groupId>com.fasterxml.jackson.core</groupId>
  121. <artifactId>jackson-databind</artifactId>
  122. <version>2.18.3</version>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>org.apache.commons</groupId>
  126. <artifactId>commons-compress</artifactId>
  127. </exclusion>
  128. </exclusions>
  129. </dependency>
  130. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
  131. <dependency>
  132. <groupId>com.fasterxml.jackson.datatype</groupId>
  133. <artifactId>jackson-datatype-jsr310</artifactId>
  134. <version>2.18.3</version>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>org.apache.commons</groupId>
  138. <artifactId>commons-compress</artifactId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-starter-web</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-starter-data-redis</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-starter-aop</artifactId>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-starter-freemarker</artifactId>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.mysql</groupId>
  160. <artifactId>mysql-connector-j</artifactId>
  161. <version>8.3.0</version>
  162. <scope>runtime</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.projectlombok</groupId>
  166. <artifactId>lombok</artifactId>
  167. <optional>true</optional>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-starter-test</artifactId>
  172. <scope>test</scope>
  173. </dependency>
  174. <!--数据库语句监听-->
  175. <dependency>
  176. <groupId>p6spy</groupId>
  177. <artifactId>p6spy</artifactId>
  178. <version>3.8.7</version>
  179. </dependency>
  180. <!--mybatis-plus-->
  181. <dependency>
  182. <groupId>com.baomidou</groupId>
  183. <artifactId>mybatis-plus-boot-starter</artifactId>
  184. <version>3.5.4</version>
  185. </dependency>
  186. <!-- 代码生成器依赖-->
  187. <dependency>
  188. <groupId>com.baomidou</groupId>
  189. <artifactId>mybatis-plus-generator</artifactId>
  190. <version>3.5.4</version>
  191. </dependency>
  192. <!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/fop -->
  193. <dependency>
  194. <groupId>org.apache.xmlgraphics</groupId>
  195. <artifactId>fop</artifactId>
  196. <version>2.10</version>
  197. </dependency>
  198. <!--多数据源-->
  199. <dependency>
  200. <groupId>com.baomidou</groupId>
  201. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  202. <version>3.6.1</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>cn.hutool</groupId>
  206. <artifactId>hutool-all</artifactId>
  207. <version>5.8.25</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.auth0</groupId>
  211. <artifactId>java-jwt</artifactId>
  212. <version>3.9.0</version>
  213. </dependency>
  214. <!--swagger-->
  215. <dependency>
  216. <groupId>io.springfox</groupId>
  217. <artifactId>springfox-swagger2</artifactId>
  218. <version>2.9.2</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>io.springfox</groupId>
  222. <artifactId>springfox-swagger-ui</artifactId>
  223. <version>2.10.0</version>
  224. </dependency>
  225. <!--swagger-ui的bootstrap风格ui-->
  226. <dependency>
  227. <groupId>com.github.xiaoymin</groupId>
  228. <artifactId>swagger-bootstrap-ui</artifactId>
  229. <version>1.9.6</version>
  230. </dependency>
  231. <!--fastJson-->
  232. <dependency>
  233. <groupId>com.alibaba</groupId>
  234. <artifactId>fastjson</artifactId>
  235. <version>2.0.0</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>commons-codec</groupId>
  239. <artifactId>commons-codec</artifactId>
  240. <version>1.14</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.apache.httpcomponents</groupId>
  244. <artifactId>httpclient</artifactId>
  245. <version>4.5.13</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.github.yulichang</groupId>
  249. <artifactId>mybatis-plus-join-boot-starter</artifactId>
  250. <version>1.4.3.2</version>
  251. </dependency>
  252. <!-- 添加javax.validation依赖 -->
  253. <dependency>
  254. <groupId>javax.validation</groupId>
  255. <artifactId>validation-api</artifactId>
  256. <version>2.0.1.Final</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>commons-lang</groupId>
  260. <artifactId>commons-lang</artifactId>
  261. <version>2.5</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>com.github.houbb</groupId>
  265. <artifactId>pinyin</artifactId>
  266. <version>0.3.1</version>
  267. </dependency>
  268. </dependencies>
  269. <build>
  270. <plugins>
  271. <plugin>
  272. <groupId>org.springframework.boot</groupId>
  273. <artifactId>spring-boot-maven-plugin</artifactId>
  274. <configuration>
  275. <excludes>
  276. <exclude>
  277. <groupId>org.projectlombok</groupId>
  278. <artifactId>lombok</artifactId>
  279. </exclude>
  280. </excludes>
  281. </configuration>
  282. </plugin>
  283. <plugin>
  284. <groupId>org.apache.maven.plugins</groupId>
  285. <artifactId>maven-enforcer-plugin</artifactId>
  286. <version>3.3.0</version>
  287. <executions>
  288. <execution>
  289. <id>enforce-versions</id>
  290. <goals>
  291. <goal>enforce</goal>
  292. </goals>
  293. <configuration>
  294. <rules>
  295. <bannedDependencies>
  296. <excludes>
  297. <exclude>org.apache.commons:commons-compress:[1.21]</exclude>
  298. </excludes>
  299. </bannedDependencies>
  300. </rules>
  301. </configuration>
  302. </execution>
  303. </executions>
  304. </plugin>
  305. </plugins>
  306. </build>
  307. </project>