pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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>module-guan</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. <!--固安模块-->
  200. <dependency>
  201. <groupId>org.jeecgframework.boot</groupId>
  202. <artifactId>module-guan</artifactId>
  203. <version>${jeecgboot.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.hibernate</groupId>
  207. <artifactId>hibernate-core</artifactId>
  208. <version>5.6.7.Final</version>
  209. <exclusions>
  210. <exclusion>
  211. <groupId>commons-collections</groupId>
  212. <artifactId>commons-collections</artifactId>
  213. </exclusion>
  214. </exclusions>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.jeecgframework.boot</groupId>
  218. <artifactId>hibernate-re</artifactId>
  219. <version>3.4.3-GA2</version>
  220. </dependency>
  221. <!-- 七牛云SDK -->
  222. <dependency>
  223. <groupId>com.qiniu</groupId>
  224. <artifactId>qiniu-java-sdk</artifactId>
  225. <version>${qiniu-java-sdk.version}</version>
  226. <exclusions>
  227. <exclusion>
  228. <artifactId>okhttp</artifactId>
  229. <groupId>com.squareup.okhttp3</groupId>
  230. </exclusion>
  231. </exclusions>
  232. </dependency>
  233. <!-- dom4j -->
  234. <dependency>
  235. <groupId>dom4j</groupId>
  236. <artifactId>dom4j</artifactId>
  237. <version>${dom4j.version}</version>
  238. </dependency>
  239. <!-- fileupload -->
  240. <dependency>
  241. <groupId>commons-fileupload</groupId>
  242. <artifactId>commons-fileupload</artifactId>
  243. <version>1.4</version>
  244. <exclusions>
  245. <exclusion>
  246. <artifactId>commons-io</artifactId>
  247. <groupId>commons-io</groupId>
  248. </exclusion>
  249. </exclusions>
  250. </dependency>
  251. <!-- justauth第三方登录 -->
  252. <dependency>
  253. <groupId>com.xkcoding.justauth</groupId>
  254. <artifactId>justauth-spring-boot-starter</artifactId>
  255. <version>${justauth-spring-boot-starter.version}</version>
  256. <exclusions>
  257. <exclusion>
  258. <artifactId>hutool-core</artifactId>
  259. <groupId>cn.hutool</groupId>
  260. </exclusion>
  261. <exclusion>
  262. <artifactId>fastjson</artifactId>
  263. <groupId>com.alibaba</groupId>
  264. </exclusion>
  265. </exclusions>
  266. </dependency>
  267. <dependency>
  268. <groupId>com.squareup.okhttp3</groupId>
  269. <artifactId>okhttp</artifactId>
  270. <version>4.4.1</version>
  271. </dependency>
  272. <!--minio-->
  273. <dependency>
  274. <groupId>io.minio</groupId>
  275. <artifactId>minio</artifactId>
  276. <version>${minio.version}</version>
  277. <exclusions>
  278. <exclusion>
  279. <artifactId>okio</artifactId>
  280. <groupId>com.squareup.okio</groupId>
  281. </exclusion>
  282. <exclusion>
  283. <artifactId>okhttp</artifactId>
  284. <groupId>com.squareup.okhttp3</groupId>
  285. </exclusion>
  286. </exclusions>
  287. </dependency>
  288. <!-- 企业微信和钉钉 api -->
  289. <dependency>
  290. <groupId>org.jeecgframework</groupId>
  291. <artifactId>jeewx-api</artifactId>
  292. <version>1.5.0</version>
  293. <exclusions>
  294. <exclusion>
  295. <artifactId>commons-beanutils</artifactId>
  296. <groupId>commons-beanutils</groupId>
  297. </exclusion>
  298. <exclusion>
  299. <artifactId>commons-lang</artifactId>
  300. <groupId>commons-lang</groupId>
  301. </exclusion>
  302. </exclusions>
  303. </dependency>
  304. <!-- 积木报表-->
  305. <dependency>
  306. <groupId>org.jeecgframework.jimureport</groupId>
  307. <artifactId>jimureport-spring-boot-starter</artifactId>
  308. <version>${jimureport-spring-boot-starter.version}</version>
  309. <exclusions>
  310. <exclusion>
  311. <artifactId>autopoi-web</artifactId>
  312. <groupId>org.jeecgframework</groupId>
  313. </exclusion>
  314. </exclusions>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.jeecgframework.jimureport</groupId>
  318. <artifactId>jimureport-nosql-starter</artifactId>
  319. <version>${jimureport-spring-boot-starter.version}</version>
  320. </dependency>
  321. </dependencies>
  322. </dependencyManagement>
  323. <build>
  324. <plugins>
  325. <!-- 指定JDK编译版本 -->
  326. <plugin>
  327. <groupId>org.apache.maven.plugins</groupId>
  328. <artifactId>maven-compiler-plugin</artifactId>
  329. <configuration>
  330. <source>1.8</source>
  331. <target>1.8</target>
  332. <encoding>UTF-8</encoding>
  333. </configuration>
  334. </plugin>
  335. <!-- 打包跳过测试 -->
  336. <plugin>
  337. <groupId>org.apache.maven.plugins</groupId>
  338. <artifactId>maven-surefire-plugin</artifactId>
  339. <configuration>
  340. <skipTests>true</skipTests>
  341. </configuration>
  342. </plugin>
  343. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  344. <plugin>
  345. <groupId>org.apache.maven.plugins</groupId>
  346. <artifactId>maven-resources-plugin</artifactId>
  347. <version>3.1.0</version>
  348. <configuration>
  349. <nonFilteredFileExtensions>
  350. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  351. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  352. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  353. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  354. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  355. </nonFilteredFileExtensions>
  356. </configuration>
  357. </plugin>
  358. </plugins>
  359. <resources>
  360. <resource>
  361. <directory>src/main/resources</directory>
  362. <filtering>true</filtering>
  363. </resource>
  364. <resource>
  365. <directory>src/main/java</directory>
  366. <includes>
  367. <include>**/*.xml</include>
  368. <include>**/*.json</include>
  369. <include>**/*.ftl</include>
  370. </includes>
  371. </resource>
  372. </resources>
  373. </build>
  374. <distributionManagement>
  375. <repository>
  376. <id>jeecg</id>
  377. <name>jeecg Repository</name>
  378. <url>http://maven.jeecg.com:8090/nexus/content/repositories/jeecg</url>
  379. </repository>
  380. <snapshotRepository>
  381. <id>jeecg-snapshots</id>
  382. <name>jeecg Snapshot Repository</name>
  383. <url>http://maven.jeecg.com:8090/nexus/content/repositories/snapshots/</url>
  384. </snapshotRepository>
  385. </distributionManagement>
  386. <!-- 环境 -->
  387. <profiles>
  388. <!-- 开发 -->
  389. <profile>
  390. <id>dev</id>
  391. <activation>
  392. <!--默认激活配置-->
  393. <activeByDefault>true</activeByDefault>
  394. </activation>
  395. <properties>
  396. <!--当前环境-->
  397. <profile.name>dev</profile.name>
  398. <!--Nacos服务地址-->
  399. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  400. </properties>
  401. </profile>
  402. <!-- 测试 -->
  403. <profile>
  404. <id>test</id>
  405. <properties>
  406. <!--当前环境-->
  407. <profile.name>test</profile.name>
  408. <!--Nacos服务地址-->
  409. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  410. </properties>
  411. </profile>
  412. <!-- 生产 -->
  413. <profile>
  414. <id>prod</id>
  415. <properties>
  416. <!--当前环境-->
  417. <profile.name>prod</profile.name>
  418. <!--Nacos服务地址-->
  419. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  420. </properties>
  421. </profile>
  422. <!-- SpringCloud运行环境 -->
  423. <profile>
  424. <id>SpringCloud</id>
  425. <modules>
  426. <!-- 微服务模块-->
  427. <module>jeecg-server-cloud</module>
  428. </modules>
  429. </profile>
  430. </profiles>
  431. </project>