pom.xml 16 KB

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