pom.xml 15 KB

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