pom.xml 11 KB

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