pom.xml 15 KB

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