pom.xml 16 KB

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