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