pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  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. <!-- 图像处理支持 -->
  85. <dependency>
  86. <groupId>com.twelvemonkeys.imageio</groupId>
  87. <artifactId>imageio-jpeg</artifactId>
  88. <version>3.9.4</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.twelvemonkeys.imageio</groupId>
  92. <artifactId>imageio-tiff</artifactId>
  93. <version>3.9.4</version>
  94. </dependency>
  95. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-imaging -->
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-imaging</artifactId>
  99. <version>1.0.0-alpha5</version>
  100. </dependency>
  101. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  102. <dependency>
  103. <groupId>com.alibaba.fastjson2</groupId>
  104. <artifactId>fastjson2</artifactId>
  105. <version>2.0.56</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.commons</groupId>
  109. <artifactId>commons-compress</artifactId>
  110. <version>1.21</version>
  111. </dependency>
  112. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
  113. <dependency>
  114. <groupId>com.fasterxml.jackson.core</groupId>
  115. <artifactId>jackson-databind</artifactId>
  116. <version>2.18.3</version>
  117. <exclusions>
  118. <exclusion>
  119. <groupId>org.apache.commons</groupId>
  120. <artifactId>commons-compress</artifactId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency>
  124. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
  125. <dependency>
  126. <groupId>com.fasterxml.jackson.datatype</groupId>
  127. <artifactId>jackson-datatype-jsr310</artifactId>
  128. <version>2.18.3</version>
  129. <exclusions>
  130. <exclusion>
  131. <groupId>org.apache.commons</groupId>
  132. <artifactId>commons-compress</artifactId>
  133. </exclusion>
  134. </exclusions>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-web</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-data-redis</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-aop</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-freemarker</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.mysql</groupId>
  154. <artifactId>mysql-connector-j</artifactId>
  155. <version>8.3.0</version>
  156. <scope>runtime</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.projectlombok</groupId>
  160. <artifactId>lombok</artifactId>
  161. <optional>true</optional>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.springframework.boot</groupId>
  165. <artifactId>spring-boot-starter-test</artifactId>
  166. <scope>test</scope>
  167. </dependency>
  168. <!--数据库语句监听-->
  169. <dependency>
  170. <groupId>p6spy</groupId>
  171. <artifactId>p6spy</artifactId>
  172. <version>3.8.7</version>
  173. </dependency>
  174. <!--mybatis-plus-->
  175. <dependency>
  176. <groupId>com.baomidou</groupId>
  177. <artifactId>mybatis-plus-boot-starter</artifactId>
  178. <version>3.5.4</version>
  179. </dependency>
  180. <!-- 代码生成器依赖-->
  181. <dependency>
  182. <groupId>com.baomidou</groupId>
  183. <artifactId>mybatis-plus-generator</artifactId>
  184. <version>3.5.4</version>
  185. </dependency>
  186. <!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/fop -->
  187. <dependency>
  188. <groupId>org.apache.xmlgraphics</groupId>
  189. <artifactId>fop</artifactId>
  190. <version>2.10</version>
  191. </dependency>
  192. <!--多数据源-->
  193. <dependency>
  194. <groupId>com.baomidou</groupId>
  195. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  196. <version>3.6.1</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>cn.hutool</groupId>
  200. <artifactId>hutool-all</artifactId>
  201. <version>5.8.25</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.auth0</groupId>
  205. <artifactId>java-jwt</artifactId>
  206. <version>3.9.0</version>
  207. </dependency>
  208. <!--swagger-->
  209. <dependency>
  210. <groupId>io.springfox</groupId>
  211. <artifactId>springfox-swagger2</artifactId>
  212. <version>2.9.2</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>io.springfox</groupId>
  216. <artifactId>springfox-swagger-ui</artifactId>
  217. <version>2.10.0</version>
  218. </dependency>
  219. <!--swagger-ui的bootstrap风格ui-->
  220. <dependency>
  221. <groupId>com.github.xiaoymin</groupId>
  222. <artifactId>swagger-bootstrap-ui</artifactId>
  223. <version>1.9.6</version>
  224. </dependency>
  225. <!--fastJson-->
  226. <dependency>
  227. <groupId>com.alibaba</groupId>
  228. <artifactId>fastjson</artifactId>
  229. <version>2.0.0</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>commons-codec</groupId>
  233. <artifactId>commons-codec</artifactId>
  234. <version>1.14</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.apache.httpcomponents</groupId>
  238. <artifactId>httpclient</artifactId>
  239. <version>4.5.13</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.github.yulichang</groupId>
  243. <artifactId>mybatis-plus-join-boot-starter</artifactId>
  244. <version>1.4.3.2</version>
  245. </dependency>
  246. <!-- 添加javax.validation依赖 -->
  247. <dependency>
  248. <groupId>javax.validation</groupId>
  249. <artifactId>validation-api</artifactId>
  250. <version>2.0.1.Final</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-lang</groupId>
  254. <artifactId>commons-lang</artifactId>
  255. <version>2.5</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>com.github.houbb</groupId>
  259. <artifactId>pinyin</artifactId>
  260. <version>0.3.1</version>
  261. </dependency>
  262. </dependencies>
  263. <build>
  264. <plugins>
  265. <plugin>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-maven-plugin</artifactId>
  268. <configuration>
  269. <excludes>
  270. <exclude>
  271. <groupId>org.projectlombok</groupId>
  272. <artifactId>lombok</artifactId>
  273. </exclude>
  274. </excludes>
  275. </configuration>
  276. </plugin>
  277. <plugin>
  278. <groupId>org.apache.maven.plugins</groupId>
  279. <artifactId>maven-enforcer-plugin</artifactId>
  280. <version>3.3.0</version>
  281. <executions>
  282. <execution>
  283. <id>enforce-versions</id>
  284. <goals>
  285. <goal>enforce</goal>
  286. </goals>
  287. <configuration>
  288. <rules>
  289. <bannedDependencies>
  290. <excludes>
  291. <exclude>org.apache.commons:commons-compress:[1.21]</exclude>
  292. </excludes>
  293. </bannedDependencies>
  294. </rules>
  295. </configuration>
  296. </execution>
  297. </executions>
  298. </plugin>
  299. </plugins>
  300. </build>
  301. </project>