pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.ynfy</groupId>
  4. <artifactId>exam</artifactId>
  5. <version>3.6.2</version>
  6. <packaging>pom</packaging>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.7.10</version>
  11. <relativePath/>
  12. </parent>
  13. <properties>
  14. <jeecgboot.version>3.6.2</jeecgboot.version>
  15. <java.version>1.8</java.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <xxl-job-core.version>2.2.0</xxl-job-core.version>
  18. <fastjson.version>1.2.83</fastjson.version>
  19. <pegdown.version>1.6.0</pegdown.version>
  20. <knife4j-spring-boot-starter.version>3.0.3</knife4j-spring-boot-starter.version>
  21. <knife4j-spring-ui.version>2.0.9</knife4j-spring-ui.version>
  22. <!-- 数据库驱动 -->
  23. <mysql-connector-java.version>8.0.27</mysql-connector-java.version>
  24. <hutool.version>5.8.23</hutool.version>
  25. <!-- 持久层 -->
  26. <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
  27. <dynamic-datasource-spring-boot-starter.version>4.1.3</dynamic-datasource-spring-boot-starter.version>
  28. <druid.version>1.2.19</druid.version>
  29. <minidao.version>1.9.5</minidao.version>
  30. <commons.version>2.6</commons.version>
  31. <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
  32. <aliyun.oss.version>3.11.2</aliyun.oss.version>
  33. <!-- shiro -->
  34. <shiro.version>1.12.0</shiro.version>
  35. <java-jwt.version>3.11.0</java-jwt.version>
  36. <shiro-redis.version>3.2.2</shiro-redis.version>
  37. <codegenerate.version>1.4.4</codegenerate.version>
  38. <autopoi-web.version>1.4.7</autopoi-web.version>
  39. <minio.version>8.0.3</minio.version>
  40. <justauth-spring-boot-starter.version>1.3.4</justauth-spring-boot-starter.version>
  41. <dom4j.version>1.6.1</dom4j.version>
  42. <qiniu-java-sdk.version>7.4.0</qiniu-java-sdk.version>
  43. <!-- Log4j2爆雷漏洞 -->
  44. <log4j2.version>2.17.0</log4j2.version>
  45. <logback.version>1.2.9</logback.version>
  46. </properties>
  47. <modules>
  48. <module>core</module>
  49. <module>web</module>
  50. <module>system</module>
  51. </modules>
  52. <repositories>
  53. <repository>
  54. <id>aliyun</id>
  55. <name>aliyun Repository</name>
  56. <url>https://maven.aliyun.com/repository/public</url>
  57. <snapshots>
  58. <enabled>false</enabled>
  59. </snapshots>
  60. </repository>
  61. </repositories>
  62. <dependencies>
  63. <!-- 积木报表-->
  64. <dependency>
  65. <groupId>org.jeecgframework.jimureport</groupId>
  66. <artifactId>jimureport-spring-boot-starter</artifactId>
  67. <version>1.7.2-beta</version>
  68. </dependency>
  69. <!-- 准考证-->
  70. <dependency>
  71. <groupId>org.apache.pdfbox</groupId>
  72. <artifactId>pdfbox</artifactId>
  73. <version>2.0.28</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-test</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>junit</groupId>
  82. <artifactId>junit</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <!-- Lombok -->
  86. <dependency>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. </dependency>
  90. <!-- json -->
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>fastjson</artifactId>
  94. <version>${fastjson.version}</version>
  95. </dependency>
  96. <!-- markdown -->
  97. <dependency>
  98. <groupId>org.pegdown</groupId>
  99. <artifactId>pegdown</artifactId>
  100. <version>${pegdown.version}</version>
  101. </dependency>
  102. </dependencies>
  103. <dependencyManagement>
  104. <dependencies>
  105. <dependency>
  106. <groupId>cn.hutool</groupId>
  107. <artifactId>hutool-all</artifactId>
  108. <version>${hutool.version}</version>
  109. </dependency>
  110. <!-- system 模块-->
  111. <dependency>
  112. <groupId>com.ynfy</groupId>
  113. <artifactId>system-biz</artifactId>
  114. <version>${jeecgboot.version}</version>
  115. </dependency>
  116. <!-- jeecg tools -->
  117. <dependency>
  118. <groupId>org.jeecgframework.boot</groupId>
  119. <artifactId>jeecg-boot-common</artifactId>
  120. <version>${jeecgboot.version}</version>
  121. </dependency>
  122. <!-- jeecg core -->
  123. <dependency>
  124. <groupId>com.ynfy</groupId>
  125. <artifactId>core</artifactId>
  126. <version>${jeecgboot.version}</version>
  127. </dependency>
  128. <!-- system 单体 api -->
  129. <dependency>
  130. <groupId>com.ynfy</groupId>
  131. <artifactId>system-local-api</artifactId>
  132. <version>${jeecgboot.version}</version>
  133. </dependency>
  134. <!--xxl-job定时任务-->
  135. <dependency>
  136. <groupId>org.jeecgframework.boot</groupId>
  137. <artifactId>jeecg-boot-starter-job</artifactId>
  138. <version>${jeecgboot.version}</version>
  139. </dependency>
  140. <!--redis分布式锁-->
  141. <dependency>
  142. <groupId>org.jeecgframework.boot</groupId>
  143. <artifactId>jeecg-boot-starter-lock</artifactId>
  144. <version>${jeecgboot.version}</version>
  145. </dependency>
  146. <!--分库分表shardingsphere-->
  147. <dependency>
  148. <groupId>org.jeecgframework.boot</groupId>
  149. <artifactId>jeecg-boot-starter-shardingsphere</artifactId>
  150. <version>${jeecgboot.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.hibernate</groupId>
  154. <artifactId>hibernate-core</artifactId>
  155. <version>5.6.7.Final</version>
  156. <exclusions>
  157. <exclusion>
  158. <groupId>commons-collections</groupId>
  159. <artifactId>commons-collections</artifactId>
  160. </exclusion>
  161. </exclusions>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.jeecgframework.boot</groupId>
  165. <artifactId>hibernate-re</artifactId>
  166. <version>3.6.1-RC</version>
  167. </dependency>
  168. <!-- dom4j -->
  169. <dependency>
  170. <groupId>dom4j</groupId>
  171. <artifactId>dom4j</artifactId>
  172. <version>${dom4j.version}</version>
  173. </dependency>
  174. <!-- fileupload -->
  175. <dependency>
  176. <groupId>commons-fileupload</groupId>
  177. <artifactId>commons-fileupload</artifactId>
  178. <version>1.5</version>
  179. <exclusions>
  180. <exclusion>
  181. <artifactId>commons-io</artifactId>
  182. <groupId>commons-io</groupId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <!-- justauth第三方登录 -->
  187. <dependency>
  188. <groupId>com.xkcoding.justauth</groupId>
  189. <artifactId>justauth-spring-boot-starter</artifactId>
  190. <version>${justauth-spring-boot-starter.version}</version>
  191. <exclusions>
  192. <exclusion>
  193. <artifactId>hutool-core</artifactId>
  194. <groupId>cn.hutool</groupId>
  195. </exclusion>
  196. <exclusion>
  197. <artifactId>fastjson</artifactId>
  198. <groupId>com.alibaba</groupId>
  199. </exclusion>
  200. </exclusions>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.squareup.okhttp3</groupId>
  204. <artifactId>okhttp</artifactId>
  205. <version>4.4.1</version>
  206. </dependency>
  207. <!-- 企业微信和钉钉 api -->
  208. <dependency>
  209. <groupId>org.jeecgframework</groupId>
  210. <artifactId>jeewx-api</artifactId>
  211. <version>1.5.2</version>
  212. <exclusions>
  213. <exclusion>
  214. <artifactId>commons-beanutils</artifactId>
  215. <groupId>commons-beanutils</groupId>
  216. </exclusion>
  217. <exclusion>
  218. <artifactId>commons-lang</artifactId>
  219. <groupId>commons-lang</groupId>
  220. </exclusion>
  221. </exclusions>
  222. </dependency>
  223. <!--minio-->
  224. <dependency>
  225. <groupId>io.minio</groupId>
  226. <artifactId>minio</artifactId>
  227. <version>${minio.version}</version>
  228. <exclusions>
  229. <exclusion>
  230. <artifactId>okio</artifactId>
  231. <groupId>com.squareup.okio</groupId>
  232. </exclusion>
  233. <exclusion>
  234. <artifactId>okhttp</artifactId>
  235. <groupId>com.squareup.okhttp3</groupId>
  236. </exclusion>
  237. </exclusions>
  238. </dependency>
  239. </dependencies>
  240. </dependencyManagement>
  241. <build>
  242. <plugins>
  243. <!-- 指定JDK编译版本 -->
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-compiler-plugin</artifactId>
  247. <configuration>
  248. <source>${java.version}</source>
  249. <target>${java.version}</target>
  250. <encoding>UTF-8</encoding>
  251. </configuration>
  252. </plugin>
  253. <!-- 打包跳过测试 -->
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-surefire-plugin</artifactId>
  257. <configuration>
  258. <skipTests>true</skipTests>
  259. </configuration>
  260. </plugin>
  261. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-resources-plugin</artifactId>
  265. <version>3.1.0</version>
  266. <configuration>
  267. <nonFilteredFileExtensions>
  268. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  269. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  270. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  271. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  272. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  273. <nonFilteredFileExtension>docx</nonFilteredFileExtension>
  274. <nonFilteredFileExtension>doc</nonFilteredFileExtension>
  275. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  276. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  277. </nonFilteredFileExtensions>
  278. </configuration>
  279. </plugin>
  280. </plugins>
  281. <resources>
  282. <resource>
  283. <directory>src/main/resources</directory>
  284. <filtering>true</filtering>
  285. </resource>
  286. <resource>
  287. <directory>src/main/java</directory>
  288. <includes>
  289. <include>**/*.xml</include>
  290. <include>**/*.json</include>
  291. <include>**/*.ftl</include>
  292. <include>**/*.docx</include>
  293. <include>**/*.xlsx</include>
  294. </includes>
  295. </resource>
  296. </resources>
  297. </build>
  298. </project>