pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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. <!-- Docx4J core -->
  21. <dependency>
  22. <groupId>org.docx4j</groupId>
  23. <artifactId>docx4j-JAXB-Internal</artifactId>
  24. <version>8.3.14</version>
  25. <exclusions>
  26. <exclusion>
  27. <groupId>org.apache.commons</groupId>
  28. <artifactId>commons-compress</artifactId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.docx4j</groupId>
  34. <artifactId>docx4j-JAXB-ReferenceImpl</artifactId>
  35. <version>11.4.9</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.docx4j</groupId>
  39. <artifactId>docx4j-export-fo</artifactId>
  40. <version>11.4.9</version>
  41. </dependency>
  42. <!-- iText for PDF conversion -->
  43. <dependency>
  44. <groupId>com.itextpdf</groupId>
  45. <artifactId>itextpdf</artifactId>
  46. <version>5.5.13.3</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.itextpdf.tool</groupId>
  50. <artifactId>xmlworker</artifactId>
  51. <version>5.5.13.3</version>
  52. </dependency>
  53. <!-- https://mvnrepository.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api -->
  54. <dependency>
  55. <groupId>jakarta.xml.bind</groupId>
  56. <artifactId>jakarta.xml.bind-api</artifactId>
  57. <version>4.0.2</version>
  58. </dependency>
  59. <!-- https://mvnrepository.com/artifact/org.glassfish.jaxb/jaxb-runtime -->
  60. <dependency>
  61. <groupId>org.glassfish.jaxb</groupId>
  62. <artifactId>jaxb-runtime</artifactId>
  63. <version>4.0.5</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>jakarta.activation</groupId>
  67. <artifactId>jakarta.activation-api</artifactId>
  68. <version>2.0.1</version>
  69. </dependency>
  70. <!-- JAXB API -->
  71. <dependency>
  72. <groupId>javax.xml.bind</groupId>
  73. <artifactId>jaxb-api</artifactId>
  74. <version>2.3.1</version>
  75. </dependency>
  76. <!-- JAXB implementation (JAXB RI) -->
  77. <dependency>
  78. <groupId>com.sun.xml.bind</groupId>
  79. <artifactId>jaxb-impl</artifactId>
  80. <version>2.3.1</version>
  81. </dependency>
  82. <!-- Activation framework -->
  83. <dependency>
  84. <groupId>javax.activation</groupId>
  85. <artifactId>javax.activation-api</artifactId>
  86. <version>1.2.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.commons</groupId>
  90. <artifactId>commons-compress</artifactId>
  91. <version>1.21</version>
  92. </dependency>
  93. <!-- Apache PDFBox -->
  94. <dependency>
  95. <groupId>org.apache.pdfbox</groupId>
  96. <artifactId>pdfbox</artifactId>
  97. <version>2.0.27</version>
  98. </dependency>
  99. <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
  100. <dependency>
  101. <groupId>org.freemarker</groupId>
  102. <artifactId>freemarker</artifactId>
  103. <version>2.3.34</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  108. </dependency>
  109. <!-- Apache POI -->
  110. <dependency>
  111. <groupId>org.apache.poi</groupId>
  112. <artifactId>poi</artifactId>
  113. <version>5.2.3</version>
  114. <exclusions>
  115. <exclusion>
  116. <groupId>org.apache.commons</groupId>
  117. <artifactId>commons-compress</artifactId>
  118. </exclusion>
  119. </exclusions>
  120. </dependency>
  121. <!-- poi-scratchpad for PDF conversion -->
  122. <dependency>
  123. <groupId>org.apache.poi</groupId>
  124. <artifactId>poi-scratchpad</artifactId>
  125. <version>5.2.3</version>
  126. <exclusions>
  127. <exclusion>
  128. <groupId>org.apache.commons</groupId>
  129. <artifactId>commons-compress</artifactId>
  130. </exclusion>
  131. </exclusions>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.poi</groupId>
  135. <artifactId>poi-ooxml</artifactId>
  136. <version>5.2.3</version>
  137. <exclusions>
  138. <exclusion>
  139. <groupId>org.apache.commons</groupId>
  140. <artifactId>commons-compress</artifactId>
  141. </exclusion>
  142. </exclusions>
  143. </dependency>
  144. <!-- 图像处理支持 -->
  145. <dependency>
  146. <groupId>com.twelvemonkeys.imageio</groupId>
  147. <artifactId>imageio-jpeg</artifactId>
  148. <version>3.9.4</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.twelvemonkeys.imageio</groupId>
  152. <artifactId>imageio-tiff</artifactId>
  153. <version>3.9.4</version>
  154. </dependency>
  155. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-imaging -->
  156. <dependency>
  157. <groupId>org.apache.commons</groupId>
  158. <artifactId>commons-imaging</artifactId>
  159. <version>1.0.0-alpha5</version>
  160. </dependency>
  161. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  162. <dependency>
  163. <groupId>com.alibaba.fastjson2</groupId>
  164. <artifactId>fastjson2</artifactId>
  165. <version>2.0.56</version>
  166. </dependency>
  167. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
  168. <dependency>
  169. <groupId>com.fasterxml.jackson.core</groupId>
  170. <artifactId>jackson-databind</artifactId>
  171. <version>2.18.3</version>
  172. </dependency>
  173. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
  174. <dependency>
  175. <groupId>com.fasterxml.jackson.datatype</groupId>
  176. <artifactId>jackson-datatype-jsr310</artifactId>
  177. <version>2.18.3</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-web</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-starter-data-redis</artifactId>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.springframework.boot</groupId>
  189. <artifactId>spring-boot-starter-aop</artifactId>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.springframework.boot</groupId>
  193. <artifactId>spring-boot-starter-freemarker</artifactId>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.mysql</groupId>
  197. <artifactId>mysql-connector-j</artifactId>
  198. <version>8.3.0</version>
  199. <scope>runtime</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.projectlombok</groupId>
  203. <artifactId>lombok</artifactId>
  204. <optional>true</optional>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.springframework.boot</groupId>
  208. <artifactId>spring-boot-starter-test</artifactId>
  209. <scope>test</scope>
  210. </dependency>
  211. <!--数据库语句监听-->
  212. <dependency>
  213. <groupId>p6spy</groupId>
  214. <artifactId>p6spy</artifactId>
  215. <version>3.8.7</version>
  216. </dependency>
  217. <!--mybatis-plus-->
  218. <dependency>
  219. <groupId>com.baomidou</groupId>
  220. <artifactId>mybatis-plus-boot-starter</artifactId>
  221. <version>3.5.4</version>
  222. </dependency>
  223. <!-- 代码生成器依赖-->
  224. <dependency>
  225. <groupId>com.baomidou</groupId>
  226. <artifactId>mybatis-plus-generator</artifactId>
  227. <version>3.5.4</version>
  228. </dependency>
  229. <!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/fop -->
  230. <dependency>
  231. <groupId>org.apache.xmlgraphics</groupId>
  232. <artifactId>fop</artifactId>
  233. <version>2.10</version>
  234. </dependency>
  235. <!--多数据源-->
  236. <dependency>
  237. <groupId>com.baomidou</groupId>
  238. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  239. <version>3.6.1</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>cn.hutool</groupId>
  243. <artifactId>hutool-all</artifactId>
  244. <version>5.8.25</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.auth0</groupId>
  248. <artifactId>java-jwt</artifactId>
  249. <version>3.9.0</version>
  250. </dependency>
  251. <!--swagger-->
  252. <dependency>
  253. <groupId>io.springfox</groupId>
  254. <artifactId>springfox-swagger2</artifactId>
  255. <version>2.9.2</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>io.springfox</groupId>
  259. <artifactId>springfox-swagger-ui</artifactId>
  260. <version>2.10.0</version>
  261. </dependency>
  262. <!--swagger-ui的bootstrap风格ui-->
  263. <dependency>
  264. <groupId>com.github.xiaoymin</groupId>
  265. <artifactId>swagger-bootstrap-ui</artifactId>
  266. <version>1.9.6</version>
  267. </dependency>
  268. <!--fastJson-->
  269. <dependency>
  270. <groupId>com.alibaba</groupId>
  271. <artifactId>fastjson</artifactId>
  272. <version>2.0.0</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>commons-codec</groupId>
  276. <artifactId>commons-codec</artifactId>
  277. <version>1.14</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.apache.httpcomponents</groupId>
  281. <artifactId>httpclient</artifactId>
  282. <version>4.5.13</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.github.yulichang</groupId>
  286. <artifactId>mybatis-plus-join-boot-starter</artifactId>
  287. <version>1.4.3.2</version>
  288. </dependency>
  289. <!-- 添加javax.validation依赖 -->
  290. <dependency>
  291. <groupId>javax.validation</groupId>
  292. <artifactId>validation-api</artifactId>
  293. <version>2.0.1.Final</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>commons-lang</groupId>
  297. <artifactId>commons-lang</artifactId>
  298. <version>2.5</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>com.github.houbb</groupId>
  302. <artifactId>pinyin</artifactId>
  303. <version>0.3.1</version>
  304. </dependency>
  305. </dependencies>
  306. <build>
  307. <plugins>
  308. <plugin>
  309. <groupId>org.springframework.boot</groupId>
  310. <artifactId>spring-boot-maven-plugin</artifactId>
  311. <configuration>
  312. <excludes>
  313. <exclude>
  314. <groupId>org.projectlombok</groupId>
  315. <artifactId>lombok</artifactId>
  316. </exclude>
  317. </excludes>
  318. </configuration>
  319. </plugin>
  320. <plugin>
  321. <groupId>org.apache.maven.plugins</groupId>
  322. <artifactId>maven-enforcer-plugin</artifactId>
  323. <version>3.3.0</version>
  324. <executions>
  325. <execution>
  326. <id>enforce-versions</id>
  327. <goals>
  328. <goal>enforce</goal>
  329. </goals>
  330. <configuration>
  331. <rules>
  332. <bannedDependencies>
  333. <excludes>
  334. <exclude>org.apache.commons:commons-compress:[1.21]</exclude>
  335. </excludes>
  336. </bannedDependencies>
  337. </rules>
  338. </configuration>
  339. </execution>
  340. </executions>
  341. </plugin>
  342. </plugins>
  343. </build>
  344. </project>