pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-test</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>junit</groupId>
  70. <artifactId>junit</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <!-- Lombok -->
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. </dependency>
  78. <!-- json -->
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>fastjson</artifactId>
  82. <version>${fastjson.version}</version>
  83. </dependency>
  84. <!-- markdown -->
  85. <dependency>
  86. <groupId>org.pegdown</groupId>
  87. <artifactId>pegdown</artifactId>
  88. <version>${pegdown.version}</version>
  89. </dependency>
  90. </dependencies>
  91. <dependencyManagement>
  92. <dependencies>
  93. <dependency>
  94. <groupId>cn.hutool</groupId>
  95. <artifactId>hutool-all</artifactId>
  96. <version>${hutool.version}</version>
  97. </dependency>
  98. <!-- system 模块-->
  99. <dependency>
  100. <groupId>com.ynfy</groupId>
  101. <artifactId>system-biz</artifactId>
  102. <version>${jeecgboot.version}</version>
  103. </dependency>
  104. <!-- jeecg tools -->
  105. <dependency>
  106. <groupId>org.jeecgframework.boot</groupId>
  107. <artifactId>jeecg-boot-common</artifactId>
  108. <version>${jeecgboot.version}</version>
  109. </dependency>
  110. <!-- jeecg core -->
  111. <dependency>
  112. <groupId>com.ynfy</groupId>
  113. <artifactId>core</artifactId>
  114. <version>${jeecgboot.version}</version>
  115. </dependency>
  116. <!-- system 单体 api -->
  117. <dependency>
  118. <groupId>com.ynfy</groupId>
  119. <artifactId>system-local-api</artifactId>
  120. <version>${jeecgboot.version}</version>
  121. </dependency>
  122. <!--xxl-job定时任务-->
  123. <dependency>
  124. <groupId>org.jeecgframework.boot</groupId>
  125. <artifactId>jeecg-boot-starter-job</artifactId>
  126. <version>${jeecgboot.version}</version>
  127. </dependency>
  128. <!--redis分布式锁-->
  129. <dependency>
  130. <groupId>org.jeecgframework.boot</groupId>
  131. <artifactId>jeecg-boot-starter-lock</artifactId>
  132. <version>${jeecgboot.version}</version>
  133. </dependency>
  134. <!--分库分表shardingsphere-->
  135. <dependency>
  136. <groupId>org.jeecgframework.boot</groupId>
  137. <artifactId>jeecg-boot-starter-shardingsphere</artifactId>
  138. <version>${jeecgboot.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.hibernate</groupId>
  142. <artifactId>hibernate-core</artifactId>
  143. <version>5.6.7.Final</version>
  144. <exclusions>
  145. <exclusion>
  146. <groupId>commons-collections</groupId>
  147. <artifactId>commons-collections</artifactId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.jeecgframework.boot</groupId>
  153. <artifactId>hibernate-re</artifactId>
  154. <version>3.6.1-RC</version>
  155. </dependency>
  156. <!-- dom4j -->
  157. <dependency>
  158. <groupId>dom4j</groupId>
  159. <artifactId>dom4j</artifactId>
  160. <version>${dom4j.version}</version>
  161. </dependency>
  162. <!-- fileupload -->
  163. <dependency>
  164. <groupId>commons-fileupload</groupId>
  165. <artifactId>commons-fileupload</artifactId>
  166. <version>1.5</version>
  167. <exclusions>
  168. <exclusion>
  169. <artifactId>commons-io</artifactId>
  170. <groupId>commons-io</groupId>
  171. </exclusion>
  172. </exclusions>
  173. </dependency>
  174. <!-- justauth第三方登录 -->
  175. <dependency>
  176. <groupId>com.xkcoding.justauth</groupId>
  177. <artifactId>justauth-spring-boot-starter</artifactId>
  178. <version>${justauth-spring-boot-starter.version}</version>
  179. <exclusions>
  180. <exclusion>
  181. <artifactId>hutool-core</artifactId>
  182. <groupId>cn.hutool</groupId>
  183. </exclusion>
  184. <exclusion>
  185. <artifactId>fastjson</artifactId>
  186. <groupId>com.alibaba</groupId>
  187. </exclusion>
  188. </exclusions>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.squareup.okhttp3</groupId>
  192. <artifactId>okhttp</artifactId>
  193. <version>4.4.1</version>
  194. </dependency>
  195. <!-- 企业微信和钉钉 api -->
  196. <dependency>
  197. <groupId>org.jeecgframework</groupId>
  198. <artifactId>jeewx-api</artifactId>
  199. <version>1.5.2</version>
  200. <exclusions>
  201. <exclusion>
  202. <artifactId>commons-beanutils</artifactId>
  203. <groupId>commons-beanutils</groupId>
  204. </exclusion>
  205. <exclusion>
  206. <artifactId>commons-lang</artifactId>
  207. <groupId>commons-lang</groupId>
  208. </exclusion>
  209. </exclusions>
  210. </dependency>
  211. <!--minio-->
  212. <dependency>
  213. <groupId>io.minio</groupId>
  214. <artifactId>minio</artifactId>
  215. <version>${minio.version}</version>
  216. <exclusions>
  217. <exclusion>
  218. <artifactId>okio</artifactId>
  219. <groupId>com.squareup.okio</groupId>
  220. </exclusion>
  221. <exclusion>
  222. <artifactId>okhttp</artifactId>
  223. <groupId>com.squareup.okhttp3</groupId>
  224. </exclusion>
  225. </exclusions>
  226. </dependency>
  227. </dependencies>
  228. </dependencyManagement>
  229. <build>
  230. <plugins>
  231. <!-- 指定JDK编译版本 -->
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-compiler-plugin</artifactId>
  235. <configuration>
  236. <source>${java.version}</source>
  237. <target>${java.version}</target>
  238. <encoding>UTF-8</encoding>
  239. </configuration>
  240. </plugin>
  241. <!-- 打包跳过测试 -->
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-surefire-plugin</artifactId>
  245. <configuration>
  246. <skipTests>true</skipTests>
  247. </configuration>
  248. </plugin>
  249. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  250. <plugin>
  251. <groupId>org.apache.maven.plugins</groupId>
  252. <artifactId>maven-resources-plugin</artifactId>
  253. <version>3.1.0</version>
  254. <configuration>
  255. <nonFilteredFileExtensions>
  256. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  257. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  258. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  259. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  260. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  261. <nonFilteredFileExtension>docx</nonFilteredFileExtension>
  262. <nonFilteredFileExtension>doc</nonFilteredFileExtension>
  263. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  264. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  265. </nonFilteredFileExtensions>
  266. </configuration>
  267. </plugin>
  268. </plugins>
  269. <resources>
  270. <resource>
  271. <directory>src/main/resources</directory>
  272. <filtering>true</filtering>
  273. </resource>
  274. <resource>
  275. <directory>src/main/java</directory>
  276. <includes>
  277. <include>**/*.xml</include>
  278. <include>**/*.json</include>
  279. <include>**/*.ftl</include>
  280. <include>**/*.docx</include>
  281. <include>**/*.xlsx</include>
  282. </includes>
  283. </resource>
  284. </resources>
  285. </build>
  286. </project>