pom.xml 11 KB

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