pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  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>org.jeecgframework.boot</groupId>
  4. <artifactId>jeecg-boot-parent</artifactId>
  5. <version>3.4.3</version>
  6. <packaging>pom</packaging>
  7. <name>JEECG BOOT ${project.version}</name>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.6.6</version>
  12. <relativePath/>
  13. </parent>
  14. <properties>
  15. <jeecgboot.version>3.4.3</jeecgboot.version>
  16. <java.version>1.8</java.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <!-- 微服务 -->
  19. <spring-cloud.version>2021.0.3</spring-cloud.version>
  20. <spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
  21. <alibaba.nacos.version>2.0.4</alibaba.nacos.version>
  22. <xxl-job-core.version>2.2.0</xxl-job-core.version>
  23. <fastjson.version>1.2.83</fastjson.version>
  24. <pegdown.version>1.6.0</pegdown.version>
  25. <knife4j-spring-boot-starter.version>3.0.3</knife4j-spring-boot-starter.version>
  26. <knife4j-spring-ui.version>2.0.9</knife4j-spring-ui.version>
  27. <!-- 数据库驱动 -->
  28. <postgresql.version>42.2.25</postgresql.version>
  29. <ojdbc6.version>11.2.0.3</ojdbc6.version>
  30. <sqljdbc4.version>4.0</sqljdbc4.version>
  31. <mysql-connector-java.version>8.0.27</mysql-connector-java.version>
  32. <hutool.version>5.3.8</hutool.version>
  33. <!-- 持久层 -->
  34. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  35. <dynamic-datasource-spring-boot-starter.version>3.2.0</dynamic-datasource-spring-boot-starter.version>
  36. <druid.version>1.1.22</druid.version>
  37. <minidao.version>1.9.0</minidao.version>
  38. <!-- 积木报表-->
  39. <jimureport-spring-boot-starter.version>1.5.4</jimureport-spring-boot-starter.version>
  40. <commons.version>2.6</commons.version>
  41. <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
  42. <aliyun.oss.version>3.11.2</aliyun.oss.version>
  43. <!-- shiro -->
  44. <shiro.version>1.10.0</shiro.version>
  45. <java-jwt.version>3.11.0</java-jwt.version>
  46. <shiro-redis.version>3.1.0</shiro-redis.version>
  47. <codegenerate.version>1.4.3</codegenerate.version>
  48. <autopoi-web.version>1.4.4</autopoi-web.version>
  49. <minio.version>8.0.3</minio.version>
  50. <justauth-spring-boot-starter.version>1.3.4</justauth-spring-boot-starter.version>
  51. <dom4j.version>1.6.1</dom4j.version>
  52. <qiniu-java-sdk.version>7.4.0</qiniu-java-sdk.version>
  53. <!-- Log4j2爆雷漏洞 -->
  54. <log4j2.version>2.17.0</log4j2.version>
  55. <logback.version>1.2.9</logback.version>
  56. <org.mapstruct.version>1.5.5.Final</org.mapstruct.version>
  57. <org.projectlombok.version>1.18.22</org.projectlombok.version>
  58. <lombok.mapstruct.binding.version>0.2.0</lombok.mapstruct.binding.version>
  59. </properties>
  60. <modules>
  61. <module>jeecg-boot-base-core</module>
  62. <module>module-iTDM</module>
  63. <module>module-ACTIVITI</module>
  64. <module>jeecg-module-system</module>
  65. </modules>
  66. <repositories>
  67. <repository>
  68. <id>aliyun</id>
  69. <name>aliyun Repository</name>
  70. <url>https://maven.aliyun.com/repository/public</url>
  71. <snapshots>
  72. <enabled>false</enabled>
  73. </snapshots>
  74. </repository>
  75. <repository>
  76. <id>jeecg</id>
  77. <name>jeecg Repository</name>
  78. <url>https://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  79. <snapshots>
  80. <enabled>false</enabled>
  81. </snapshots>
  82. </repository>
  83. <repository>
  84. <id>jeecg-snapshots</id>
  85. <name>jeecg-snapshots Repository</name>
  86. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  87. <releases>
  88. <enabled>false</enabled>
  89. </releases>
  90. <snapshots>
  91. <enabled>true</enabled>
  92. </snapshots>
  93. </repository>
  94. </repositories>
  95. <dependencies>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-test</artifactId>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>junit</groupId>
  103. <artifactId>junit</artifactId>
  104. <scope>test</scope>
  105. </dependency>
  106. <!-- Lombok -->
  107. <dependency>
  108. <groupId>org.projectlombok</groupId>
  109. <artifactId>lombok</artifactId>
  110. </dependency>
  111. <!-- json -->
  112. <dependency>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>fastjson</artifactId>
  115. <version>${fastjson.version}</version>
  116. </dependency>
  117. <!-- markdown -->
  118. <dependency>
  119. <groupId>org.pegdown</groupId>
  120. <artifactId>pegdown</artifactId>
  121. <version>${pegdown.version}</version>
  122. </dependency>
  123. </dependencies>
  124. <dependencyManagement>
  125. <dependencies>
  126. <dependency>
  127. <groupId>org.mapstruct</groupId>
  128. <artifactId>mapstruct</artifactId>
  129. <version>${org.mapstruct.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.mapstruct</groupId>
  133. <artifactId>mapstruct-jdk8</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
  134. <version>${org.mapstruct.version}</version>
  135. </dependency>
  136. <!-- spring-cloud-->
  137. <dependency>
  138. <groupId>org.springframework.cloud</groupId>
  139. <artifactId>spring-cloud-dependencies</artifactId>
  140. <version>${spring-cloud.version}</version>
  141. <type>pom</type>
  142. <scope>import</scope>
  143. </dependency>
  144. <!-- spring-cloud-alibaba -->
  145. <dependency>
  146. <groupId>com.alibaba.cloud</groupId>
  147. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  148. <version>${spring-cloud-alibaba.version}</version>
  149. <type>pom</type>
  150. <scope>import</scope>
  151. </dependency>
  152. <!-- system 模块-->
  153. <dependency>
  154. <groupId>org.jeecgframework.boot</groupId>
  155. <artifactId>jeecg-system-biz</artifactId>
  156. <version>${jeecgboot.version}</version>
  157. </dependency>
  158. <!-- jeecg tools -->
  159. <dependency>
  160. <groupId>org.jeecgframework.boot</groupId>
  161. <artifactId>jeecg-boot-common</artifactId>
  162. <version>${jeecgboot.version}</version>
  163. </dependency>
  164. <!-- jeecg core -->
  165. <dependency>
  166. <groupId>org.jeecgframework.boot</groupId>
  167. <artifactId>jeecg-boot-base-core</artifactId>
  168. <version>${jeecgboot.version}</version>
  169. </dependency>
  170. <!-- system 单体 api -->
  171. <dependency>
  172. <groupId>org.jeecgframework.boot</groupId>
  173. <artifactId>jeecg-system-local-api</artifactId>
  174. <version>${jeecgboot.version}</version>
  175. </dependency>
  176. <!-- system 微服务 api -->
  177. <dependency>
  178. <groupId>org.jeecgframework.boot</groupId>
  179. <artifactId>jeecg-system-cloud-api</artifactId>
  180. <version>${jeecgboot.version}</version>
  181. </dependency>
  182. <!--微服务启动依赖-->
  183. <dependency>
  184. <groupId>org.jeecgframework.boot</groupId>
  185. <artifactId>jeecg-boot-starter-cloud</artifactId>
  186. <version>${jeecgboot.version}</version>
  187. </dependency>
  188. <!--xxl-job定时任务-->
  189. <dependency>
  190. <groupId>org.jeecgframework.boot</groupId>
  191. <artifactId>jeecg-boot-starter-job</artifactId>
  192. <version>${jeecgboot.version}</version>
  193. </dependency>
  194. <!--redis分布式锁-->
  195. <dependency>
  196. <groupId>org.jeecgframework.boot</groupId>
  197. <artifactId>jeecg-boot-starter-lock</artifactId>
  198. <version>${jeecgboot.version}</version>
  199. </dependency>
  200. <!--rabbitmq消息队列-->
  201. <dependency>
  202. <groupId>org.jeecgframework.boot</groupId>
  203. <artifactId>jeecg-boot-starter-rabbitmq</artifactId>
  204. <version>${jeecgboot.version}</version>
  205. </dependency>
  206. <!--分库分表shardingsphere-->
  207. <dependency>
  208. <groupId>org.jeecgframework.boot</groupId>
  209. <artifactId>jeecg-boot-starter-shardingsphere</artifactId>
  210. <version>${jeecgboot.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.hibernate</groupId>
  214. <artifactId>hibernate-core</artifactId>
  215. <version>5.6.7.Final</version>
  216. <exclusions>
  217. <exclusion>
  218. <groupId>commons-collections</groupId>
  219. <artifactId>commons-collections</artifactId>
  220. </exclusion>
  221. </exclusions>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.jeecgframework.boot</groupId>
  225. <artifactId>hibernate-re</artifactId>
  226. <version>3.4.3-GA2</version>
  227. </dependency>
  228. <!-- 七牛云SDK -->
  229. <dependency>
  230. <groupId>com.qiniu</groupId>
  231. <artifactId>qiniu-java-sdk</artifactId>
  232. <version>${qiniu-java-sdk.version}</version>
  233. <exclusions>
  234. <exclusion>
  235. <artifactId>okhttp</artifactId>
  236. <groupId>com.squareup.okhttp3</groupId>
  237. </exclusion>
  238. </exclusions>
  239. </dependency>
  240. <!-- dom4j -->
  241. <dependency>
  242. <groupId>dom4j</groupId>
  243. <artifactId>dom4j</artifactId>
  244. <version>${dom4j.version}</version>
  245. </dependency>
  246. <!-- fileupload -->
  247. <dependency>
  248. <groupId>commons-fileupload</groupId>
  249. <artifactId>commons-fileupload</artifactId>
  250. <version>1.4</version>
  251. <exclusions>
  252. <exclusion>
  253. <artifactId>commons-io</artifactId>
  254. <groupId>commons-io</groupId>
  255. </exclusion>
  256. </exclusions>
  257. </dependency>
  258. <!-- justauth第三方登录 -->
  259. <dependency>
  260. <groupId>com.xkcoding.justauth</groupId>
  261. <artifactId>justauth-spring-boot-starter</artifactId>
  262. <version>${justauth-spring-boot-starter.version}</version>
  263. <exclusions>
  264. <exclusion>
  265. <artifactId>hutool-core</artifactId>
  266. <groupId>cn.hutool</groupId>
  267. </exclusion>
  268. <exclusion>
  269. <artifactId>fastjson</artifactId>
  270. <groupId>com.alibaba</groupId>
  271. </exclusion>
  272. </exclusions>
  273. </dependency>
  274. <dependency>
  275. <groupId>com.squareup.okhttp3</groupId>
  276. <artifactId>okhttp</artifactId>
  277. <version>4.4.1</version>
  278. </dependency>
  279. <!--minio-->
  280. <dependency>
  281. <groupId>io.minio</groupId>
  282. <artifactId>minio</artifactId>
  283. <version>${minio.version}</version>
  284. <exclusions>
  285. <exclusion>
  286. <artifactId>okio</artifactId>
  287. <groupId>com.squareup.okio</groupId>
  288. </exclusion>
  289. <exclusion>
  290. <artifactId>okhttp</artifactId>
  291. <groupId>com.squareup.okhttp3</groupId>
  292. </exclusion>
  293. </exclusions>
  294. </dependency>
  295. <!-- 企业微信和钉钉 api -->
  296. <dependency>
  297. <groupId>org.jeecgframework</groupId>
  298. <artifactId>jeewx-api</artifactId>
  299. <version>1.5.0</version>
  300. <exclusions>
  301. <exclusion>
  302. <artifactId>commons-beanutils</artifactId>
  303. <groupId>commons-beanutils</groupId>
  304. </exclusion>
  305. <exclusion>
  306. <artifactId>commons-lang</artifactId>
  307. <groupId>commons-lang</groupId>
  308. </exclusion>
  309. </exclusions>
  310. </dependency>
  311. <!-- 积木报表-->
  312. <dependency>
  313. <groupId>org.jeecgframework.jimureport</groupId>
  314. <artifactId>jimureport-spring-boot-starter</artifactId>
  315. <version>${jimureport-spring-boot-starter.version}</version>
  316. <exclusions>
  317. <exclusion>
  318. <artifactId>autopoi-web</artifactId>
  319. <groupId>org.jeecgframework</groupId>
  320. </exclusion>
  321. </exclusions>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.jeecgframework.jimureport</groupId>
  325. <artifactId>jimureport-nosql-starter</artifactId>
  326. <version>${jimureport-spring-boot-starter.version}</version>
  327. </dependency>
  328. </dependencies>
  329. </dependencyManagement>
  330. <build>
  331. <plugins>
  332. <!-- 指定JDK编译版本 -->
  333. <plugin>
  334. <groupId>org.apache.maven.plugins</groupId>
  335. <artifactId>maven-compiler-plugin</artifactId>
  336. <configuration>
  337. <source>1.8</source>
  338. <target>1.8</target>
  339. <encoding>UTF-8</encoding>
  340. <annotationProcessorPaths>
  341. <path>
  342. <groupId>org.mapstruct</groupId>
  343. <artifactId>mapstruct-processor</artifactId>
  344. <version>${org.mapstruct.version}</version>
  345. </path>
  346. <path>
  347. <groupId>org.projectlombok</groupId>
  348. <artifactId>lombok</artifactId>
  349. <version>${org.projectlombok.version}</version>
  350. </path>
  351. <path>
  352. <groupId>org.projectlombok</groupId>
  353. <artifactId>lombok-mapstruct-binding</artifactId>
  354. <version>${lombok.mapstruct.binding.version}</version>
  355. </path>
  356. <!-- other annotation processors -->
  357. </annotationProcessorPaths>
  358. </configuration>
  359. </plugin>
  360. <!-- 打包跳过测试 -->
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-surefire-plugin</artifactId>
  364. <configuration>
  365. <skipTests>true</skipTests>
  366. </configuration>
  367. </plugin>
  368. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  369. <plugin>
  370. <groupId>org.apache.maven.plugins</groupId>
  371. <artifactId>maven-resources-plugin</artifactId>
  372. <version>3.1.0</version>
  373. <configuration>
  374. <nonFilteredFileExtensions>
  375. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  376. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  377. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  378. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  379. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  380. </nonFilteredFileExtensions>
  381. </configuration>
  382. </plugin>
  383. </plugins>
  384. <resources>
  385. <resource>
  386. <directory>src/main/resources</directory>
  387. <filtering>true</filtering>
  388. </resource>
  389. <resource>
  390. <directory>src/main/java</directory>
  391. <includes>
  392. <include>**/*.xml</include>
  393. <include>**/*.json</include>
  394. <include>**/*.ftl</include>
  395. </includes>
  396. </resource>
  397. </resources>
  398. </build>
  399. <distributionManagement>
  400. <repository>
  401. <id>jeecg</id>
  402. <name>jeecg Repository</name>
  403. <url>http://maven.jeecg.com:8090/nexus/content/repositories/jeecg</url>
  404. </repository>
  405. <snapshotRepository>
  406. <id>jeecg-snapshots</id>
  407. <name>jeecg Snapshot Repository</name>
  408. <url>http://maven.jeecg.com:8090/nexus/content/repositories/snapshots/</url>
  409. </snapshotRepository>
  410. </distributionManagement>
  411. <!-- 环境 -->
  412. <profiles>
  413. <!-- 开发 -->
  414. <profile>
  415. <id>dev</id>
  416. <activation>
  417. <!--默认激活配置-->
  418. <activeByDefault>true</activeByDefault>
  419. </activation>
  420. <properties>
  421. <!--当前环境-->
  422. <profile.name>dev</profile.name>
  423. <!--Nacos服务地址-->
  424. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  425. </properties>
  426. </profile>
  427. <!-- 测试 -->
  428. <profile>
  429. <id>test</id>
  430. <properties>
  431. <!--当前环境-->
  432. <profile.name>test</profile.name>
  433. <!--Nacos服务地址-->
  434. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  435. </properties>
  436. </profile>
  437. <!-- 生产 -->
  438. <profile>
  439. <id>prod</id>
  440. <properties>
  441. <!--当前环境-->
  442. <profile.name>prod</profile.name>
  443. <!--Nacos服务地址-->
  444. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  445. </properties>
  446. </profile>
  447. <!-- SpringCloud运行环境 -->
  448. <profile>
  449. <id>SpringCloud</id>
  450. <modules>
  451. <!-- 微服务模块-->
  452. <module>jeecg-server-cloud</module>
  453. </modules>
  454. </profile>
  455. </profiles>
  456. </project>