pom.xml 12 KB

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