pom.xml 14 KB

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