pom.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  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.7.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. <url>http://www.guojusoft.com</url>
  13. </developer>
  14. </developers>
  15. <scm>
  16. <connection>http://www.jeecg.com</connection>
  17. <developerConnection>http://guojusoft.com</developerConnection>
  18. <url>http://www.jeecg.com/vip</url>
  19. </scm>
  20. <parent>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-parent</artifactId>
  23. <version>2.7.18</version>
  24. <relativePath/>
  25. </parent>
  26. <properties>
  27. <jeecgboot.version>3.7.1</jeecgboot.version>
  28. <java.version>1.8</java.version>
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. <!-- 微服务 -->
  31. <spring-cloud.version>2021.0.3</spring-cloud.version>
  32. <spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
  33. <alibaba.nacos.version>2.0.4</alibaba.nacos.version>
  34. <seata.version>1.5.2</seata.version>
  35. <xxl-job-core.version>2.4.1</xxl-job-core.version>
  36. <fastjson.version>1.2.83</fastjson.version>
  37. <aviator.version>5.2.6</aviator.version>
  38. <pegdown.version>1.6.0</pegdown.version>
  39. <commonmark.version>0.17.0</commonmark.version>
  40. <knife4j-spring-boot-starter.version>4.4.0</knife4j-spring-boot-starter.version>
  41. <!-- 数据库驱动 -->
  42. <postgresql.version>42.2.25</postgresql.version>
  43. <ojdbc6.version>11.2.0.3</ojdbc6.version>
  44. <sqljdbc4.version>4.0</sqljdbc4.version>
  45. <mysql-connector-java.version>8.0.27</mysql-connector-java.version>
  46. <hutool.version>5.8.25</hutool.version>
  47. <!-- 国产数据库驱动 -->
  48. <kingbase8.version>9.0.0</kingbase8.version>
  49. <dm8.version>8.1.1.49</dm8.version>
  50. <!-- 持久层 -->
  51. <mybatis-plus.version>3.5.3.2</mybatis-plus.version>
  52. <dynamic-datasource-spring-boot-starter.version>4.1.3</dynamic-datasource-spring-boot-starter.version>
  53. <druid.version>1.2.22</druid.version>
  54. <!-- 积木报表-->
  55. <jimureport-spring-boot-starter.version>1.8.1</jimureport-spring-boot-starter.version>
  56. <commons-io.version>2.11.0</commons-io.version>
  57. <commons.version>2.6</commons.version>
  58. <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
  59. <aliyun.oss.version>3.11.2</aliyun.oss.version>
  60. <!-- shiro -->
  61. <shiro.version>1.12.0</shiro.version>
  62. <java-jwt.version>3.11.0</java-jwt.version>
  63. <shiro-redis.version>3.2.2</shiro-redis.version>
  64. <codegenerate.version>1.4.9</codegenerate.version>
  65. <autopoi-web.version>1.4.11</autopoi-web.version>
  66. <minio.version>8.0.3</minio.version>
  67. <justauth-spring-boot-starter.version>1.4.0</justauth-spring-boot-starter.version>
  68. <dom4j.version>1.6.1</dom4j.version>
  69. <qiniu-java-sdk.version>7.4.0</qiniu-java-sdk.version>
  70. <baidu-java-sdk.version>4.16.19</baidu-java-sdk.version>
  71. <!-- Log4j2爆雷漏洞 -->
  72. <log4j2.version>2.17.0</log4j2.version>
  73. <logback.version>1.2.9</logback.version>
  74. </properties>
  75. <modules>
  76. <module>jeecg-boot-base-core</module>
  77. <module>jeecg-module-demo</module>
  78. <module>jeecg-module-system</module>
  79. <module>srm-module-code</module>
  80. </modules>
  81. <repositories>
  82. <repository>
  83. <id>aliyun</id>
  84. <name>aliyun Repository</name>
  85. <url>https://maven.aliyun.com/repository/public</url>
  86. <snapshots>
  87. <enabled>false</enabled>
  88. </snapshots>
  89. </repository>
  90. <repository>
  91. <id>jeecg</id>
  92. <name>jeecg Repository</name>
  93. <url>https://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  94. <snapshots>
  95. <enabled>false</enabled>
  96. </snapshots>
  97. </repository>
  98. <repository>
  99. <id>jeecg-snapshots</id>
  100. <name>jeecg-snapshots Repository</name>
  101. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  102. <releases>
  103. <enabled>false</enabled>
  104. </releases>
  105. <snapshots>
  106. <enabled>true</enabled>
  107. </snapshots>
  108. </repository>
  109. </repositories>
  110. <dependencies>
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>easyexcel</artifactId>
  114. <version>3.3.4</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-test</artifactId>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>junit</groupId>
  123. <artifactId>junit</artifactId>
  124. <scope>test</scope>
  125. </dependency>
  126. <!-- Lombok -->
  127. <dependency>
  128. <groupId>org.projectlombok</groupId>
  129. <artifactId>lombok</artifactId>
  130. </dependency>
  131. <!-- json -->
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>fastjson</artifactId>
  135. <version>${fastjson.version}</version>
  136. </dependency>
  137. <!-- markdown -->
  138. <!--<dependency>
  139. <groupId>org.pegdown</groupId>
  140. <artifactId>pegdown</artifactId>
  141. <version>${pegdown.version}</version>
  142. </dependency>-->
  143. <!--markdown 解析 https://github.com/commonmark/commonmark-java -->
  144. <dependency>
  145. <groupId>org.commonmark</groupId>
  146. <artifactId>commonmark</artifactId>
  147. <version>${commonmark.version}</version>
  148. </dependency>
  149. </dependencies>
  150. <dependencyManagement>
  151. <dependencies>
  152. <!-- spring-cloud-->
  153. <dependency>
  154. <groupId>org.springframework.cloud</groupId>
  155. <artifactId>spring-cloud-dependencies</artifactId>
  156. <version>${spring-cloud.version}</version>
  157. <type>pom</type>
  158. <scope>import</scope>
  159. </dependency>
  160. <!-- spring-cloud-alibaba -->
  161. <dependency>
  162. <groupId>com.alibaba.cloud</groupId>
  163. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  164. <version>${spring-cloud-alibaba.version}</version>
  165. <type>pom</type>
  166. <scope>import</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>io.seata</groupId>
  170. <artifactId>seata-spring-boot-starter</artifactId>
  171. <version>${seata.version}</version>
  172. </dependency>
  173. <!-- system 模块-->
  174. <dependency>
  175. <groupId>org.jeecgframework.boot</groupId>
  176. <artifactId>jeecg-system-biz</artifactId>
  177. <version>${jeecgboot.version}</version>
  178. </dependency>
  179. <!-- jeecg tools -->
  180. <dependency>
  181. <groupId>org.jeecgframework.boot</groupId>
  182. <artifactId>jeecg-boot-common</artifactId>
  183. <version>${jeecgboot.version}</version>
  184. </dependency>
  185. <!-- jeecg core -->
  186. <dependency>
  187. <groupId>org.jeecgframework.boot</groupId>
  188. <artifactId>jeecg-boot-base-core</artifactId>
  189. <version>${jeecgboot.version}</version>
  190. </dependency>
  191. <!-- system 单体 api -->
  192. <dependency>
  193. <groupId>org.jeecgframework.boot</groupId>
  194. <artifactId>jeecg-system-local-api</artifactId>
  195. <version>${jeecgboot.version}</version>
  196. </dependency>
  197. <!-- system 微服务 api -->
  198. <dependency>
  199. <groupId>org.jeecgframework.boot</groupId>
  200. <artifactId>jeecg-system-cloud-api</artifactId>
  201. <version>${jeecgboot.version}</version>
  202. </dependency>
  203. <!--微服务启动依赖-->
  204. <dependency>
  205. <groupId>org.jeecgframework.boot</groupId>
  206. <artifactId>jeecg-boot-starter-cloud</artifactId>
  207. <version>${jeecgboot.version}</version>
  208. </dependency>
  209. <!--xxl-job定时任务-->
  210. <dependency>
  211. <groupId>org.jeecgframework.boot</groupId>
  212. <artifactId>jeecg-boot-starter-job</artifactId>
  213. <version>${jeecgboot.version}</version>
  214. </dependency>
  215. <!--redis分布式锁-->
  216. <dependency>
  217. <groupId>org.jeecgframework.boot</groupId>
  218. <artifactId>jeecg-boot-starter-lock</artifactId>
  219. <version>${jeecgboot.version}</version>
  220. </dependency>
  221. <!--rabbitmq消息队列-->
  222. <dependency>
  223. <groupId>org.jeecgframework.boot</groupId>
  224. <artifactId>jeecg-boot-starter-rabbitmq</artifactId>
  225. <version>${jeecgboot.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.jeecgframework.boot</groupId>
  229. <artifactId>jeecg-boot-starter-rocketmq</artifactId>
  230. <version>${jeecgboot.version}</version>
  231. </dependency>
  232. <!--分库分表shardingsphere-->
  233. <dependency>
  234. <groupId>org.jeecgframework.boot</groupId>
  235. <artifactId>jeecg-boot-starter-shardingsphere</artifactId>
  236. <version>${jeecgboot.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.hibernate</groupId>
  240. <artifactId>hibernate-core</artifactId>
  241. <version>5.6.7.Final</version>
  242. <exclusions>
  243. <exclusion>
  244. <groupId>commons-collections</groupId>
  245. <artifactId>commons-collections</artifactId>
  246. </exclusion>
  247. </exclusions>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.jeecgframework.boot</groupId>
  251. <artifactId>hibernate-re</artifactId>
  252. <version>3.7.1-RC</version>
  253. </dependency>
  254. <!--mongon db-->
  255. <dependency>
  256. <groupId>org.jeecgframework.boot</groupId>
  257. <artifactId>jeecg-boot-starter-mongon</artifactId>
  258. <version>${jeecgboot.version}</version>
  259. </dependency>
  260. <!-- 七牛云SDK -->
  261. <dependency>
  262. <groupId>com.qiniu</groupId>
  263. <artifactId>qiniu-java-sdk</artifactId>
  264. <version>${qiniu-java-sdk.version}</version>
  265. <exclusions>
  266. <exclusion>
  267. <artifactId>okhttp</artifactId>
  268. <groupId>com.squareup.okhttp3</groupId>
  269. </exclusion>
  270. </exclusions>
  271. </dependency>
  272. <!-- 百度SDK (OCR) -->
  273. <dependency>
  274. <groupId>com.baidu.aip</groupId>
  275. <artifactId>java-sdk</artifactId>
  276. <version>${baidu-java-sdk.version}</version>
  277. <exclusions>
  278. <exclusion>
  279. <groupId>org.slf4j</groupId>
  280. <artifactId>slf4j-simple</artifactId>
  281. </exclusion>
  282. </exclusions>
  283. </dependency>
  284. <!-- dom4j -->
  285. <dependency>
  286. <groupId>dom4j</groupId>
  287. <artifactId>dom4j</artifactId>
  288. <version>${dom4j.version}</version>
  289. </dependency>
  290. <!-- fileupload -->
  291. <dependency>
  292. <groupId>commons-fileupload</groupId>
  293. <artifactId>commons-fileupload</artifactId>
  294. <version>1.5</version>
  295. <exclusions>
  296. <exclusion>
  297. <artifactId>commons-io</artifactId>
  298. <groupId>commons-io</groupId>
  299. </exclusion>
  300. </exclusions>
  301. </dependency>
  302. <!-- justauth第三方登录 -->
  303. <dependency>
  304. <groupId>com.xkcoding.justauth</groupId>
  305. <artifactId>justauth-spring-boot-starter</artifactId>
  306. <version>${justauth-spring-boot-starter.version}</version>
  307. <exclusions>
  308. <exclusion>
  309. <artifactId>hutool-core</artifactId>
  310. <groupId>cn.hutool</groupId>
  311. </exclusion>
  312. <exclusion>
  313. <artifactId>fastjson</artifactId>
  314. <groupId>com.alibaba</groupId>
  315. </exclusion>
  316. </exclusions>
  317. </dependency>
  318. <dependency>
  319. <groupId>com.squareup.okhttp3</groupId>
  320. <artifactId>okhttp</artifactId>
  321. <version>4.4.1</version>
  322. </dependency>
  323. <!-- hutool工具类-->
  324. <dependency>
  325. <groupId>cn.hutool</groupId>
  326. <artifactId>hutool-core</artifactId>
  327. <version>${hutool.version}</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>cn.hutool</groupId>
  331. <artifactId>hutool-crypto</artifactId>
  332. <version>${hutool.version}</version>
  333. </dependency>
  334. <!--minio-->
  335. <dependency>
  336. <groupId>io.minio</groupId>
  337. <artifactId>minio</artifactId>
  338. <version>${minio.version}</version>
  339. <exclusions>
  340. <exclusion>
  341. <artifactId>okio</artifactId>
  342. <groupId>com.squareup.okio</groupId>
  343. </exclusion>
  344. <exclusion>
  345. <artifactId>okhttp</artifactId>
  346. <groupId>com.squareup.okhttp3</groupId>
  347. </exclusion>
  348. </exclusions>
  349. </dependency>
  350. <!-- 企业微信和钉钉 api -->
  351. <dependency>
  352. <groupId>org.jeecgframework</groupId>
  353. <artifactId>jeewx-api</artifactId>
  354. <version>1.5.2</version>
  355. <exclusions>
  356. <exclusion>
  357. <artifactId>commons-beanutils</artifactId>
  358. <groupId>commons-beanutils</groupId>
  359. </exclusion>
  360. <exclusion>
  361. <artifactId>commons-lang</artifactId>
  362. <groupId>commons-lang</groupId>
  363. </exclusion>
  364. <exclusion>
  365. <artifactId>commons-collections</artifactId>
  366. <groupId>commons-collections</groupId>
  367. </exclusion>
  368. <exclusion>
  369. <artifactId>commons-logging</artifactId>
  370. <groupId>commons-logging</groupId>
  371. </exclusion>
  372. <exclusion>
  373. <artifactId>commons-io</artifactId>
  374. <groupId>commons-io</groupId>
  375. </exclusion>
  376. </exclusions>
  377. </dependency>
  378. <!-- 积木报表-->
  379. <dependency>
  380. <groupId>org.jeecgframework.jimureport</groupId>
  381. <artifactId>jimureport-spring-boot-starter</artifactId>
  382. <version>${jimureport-spring-boot-starter.version}</version>
  383. <exclusions>
  384. <exclusion>
  385. <artifactId>autopoi-web</artifactId>
  386. <groupId>org.jeecgframework</groupId>
  387. </exclusion>
  388. <exclusion>
  389. <artifactId>druid</artifactId>
  390. <groupId>com.alibaba</groupId>
  391. </exclusion>
  392. </exclusions>
  393. </dependency>
  394. <dependency>
  395. <groupId>org.jeecgframework.jimureport</groupId>
  396. <artifactId>jimureport-nosql-starter</artifactId>
  397. <version>1.6.0</version>
  398. </dependency>
  399. <!-- 积木仪表盘-->
  400. <dependency>
  401. <groupId>org.jeecgframework.jimureport</groupId>
  402. <artifactId>jimureport-dashboard-spring-boot-starter</artifactId>
  403. <version>1.8.1-beta</version>
  404. <exclusions>
  405. <exclusion>
  406. <artifactId>autopoi-web</artifactId>
  407. <groupId>org.jeecgframework</groupId>
  408. </exclusion>
  409. <exclusion>
  410. <groupId>org.jeecgframework.jimureport</groupId>
  411. <artifactId>jimureport-spring-boot-starter</artifactId>
  412. </exclusion>
  413. </exclusions>
  414. </dependency>
  415. <!-- chatgpt -->
  416. <dependency>
  417. <groupId>org.jeecgframework.boot</groupId>
  418. <artifactId>jeecg-boot-starter-chatgpt</artifactId>
  419. <version>${jeecgboot.version}</version>
  420. </dependency>
  421. <!--flyway 支持 mysql5.7+、MariaDB10.3.16-->
  422. <!--mysql5.6,需要把版本号改成5.2.1-->
  423. <dependency>
  424. <groupId>org.flywaydb</groupId>
  425. <artifactId>flyway-core</artifactId>
  426. <version>7.15.0</version>
  427. </dependency>
  428. </dependencies>
  429. </dependencyManagement>
  430. <build>
  431. <plugins>
  432. <!-- 指定JDK编译版本 -->
  433. <plugin>
  434. <groupId>org.apache.maven.plugins</groupId>
  435. <artifactId>maven-compiler-plugin</artifactId>
  436. <configuration>
  437. <source>${java.version}</source>
  438. <target>${java.version}</target>
  439. <encoding>UTF-8</encoding>
  440. </configuration>
  441. </plugin>
  442. <!-- 打包跳过测试 -->
  443. <plugin>
  444. <groupId>org.apache.maven.plugins</groupId>
  445. <artifactId>maven-surefire-plugin</artifactId>
  446. <configuration>
  447. <skipTests>true</skipTests>
  448. </configuration>
  449. </plugin>
  450. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  451. <plugin>
  452. <groupId>org.apache.maven.plugins</groupId>
  453. <artifactId>maven-resources-plugin</artifactId>
  454. <version>3.1.0</version>
  455. <configuration>
  456. <nonFilteredFileExtensions>
  457. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  458. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  459. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  460. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  461. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  462. </nonFilteredFileExtensions>
  463. </configuration>
  464. </plugin>
  465. </plugins>
  466. <resources>
  467. <resource>
  468. <directory>src/main/resources</directory>
  469. <filtering>true</filtering>
  470. </resource>
  471. <resource>
  472. <directory>src/main/java</directory>
  473. <includes>
  474. <include>**/*.xml</include>
  475. <include>**/*.json</include>
  476. <include>**/*.ftl</include>
  477. </includes>
  478. </resource>
  479. </resources>
  480. </build>
  481. <distributionManagement>
  482. <repository>
  483. <id>jeecg</id>
  484. <name>jeecg Repository</name>
  485. <url>http://maven.jeecg.com:8090/nexus/content/repositories/jeecg</url>
  486. </repository>
  487. <snapshotRepository>
  488. <id>jeecg-snapshots</id>
  489. <name>jeecg Snapshot Repository</name>
  490. <url>http://maven.jeecg.com:8090/nexus/content/repositories/snapshots/</url>
  491. </snapshotRepository>
  492. </distributionManagement>
  493. <!-- 环境 -->
  494. <profiles>
  495. <!-- 开发 -->
  496. <profile>
  497. <id>dev</id>
  498. <activation>
  499. <!--默认激活配置-->
  500. <activeByDefault>true</activeByDefault>
  501. </activation>
  502. <properties>
  503. <!--当前环境-->
  504. <profile.name>dev</profile.name>
  505. <!--Nacos服务地址-->
  506. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  507. <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
  508. <config.namespace></config.namespace>
  509. <!--Nacos配置分组名称-->
  510. <config.group>DEFAULT_GROUP</config.group>
  511. <!--Nacos用户名-->
  512. <config.username></config.username>
  513. <!--Nacos密码-->
  514. <config.password></config.password>
  515. </properties>
  516. </profile>
  517. <!-- 测试Nacos开启鉴权、设置分组和命名空间
  518. <profile>
  519. <id>dev</id>
  520. <properties>
  521. <profile.name>dev</profile.name>
  522. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  523. <config.namespace>ac14ab82-51f8-4f0c-aa5b-25fb8384bfb6</config.namespace>
  524. <config.group>JEECGDEV_GROUP</config.group>
  525. <config.username>nacos</config.username>
  526. <config.password>nacos</config.password>
  527. </properties>
  528. </profile> -->
  529. <!-- 测试 -->
  530. <profile>
  531. <id>test</id>
  532. <properties>
  533. <!--当前环境-->
  534. <profile.name>test</profile.name>
  535. <!--Nacos服务地址-->
  536. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  537. <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
  538. <config.namespace></config.namespace>
  539. <!--Nacos配置分组名称-->
  540. <config.group>DEFAULT_GROUP</config.group>
  541. <!--Nacos用户名-->
  542. <config.username></config.username>
  543. <!--Nacos密码-->
  544. <config.password></config.password>
  545. </properties>
  546. </profile>
  547. <!-- 生产 -->
  548. <profile>
  549. <id>prod</id>
  550. <properties>
  551. <!--当前环境-->
  552. <profile.name>prod</profile.name>
  553. <!--Nacos服务地址-->
  554. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  555. <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
  556. <config.namespace></config.namespace>
  557. <!--Nacos配置分组名称-->
  558. <config.group>DEFAULT_GROUP</config.group>
  559. <!--Nacos用户名-->
  560. <config.username></config.username>
  561. <!--Nacos密码-->
  562. <config.password></config.password>
  563. </properties>
  564. </profile>
  565. <!-- 生产 -->
  566. <profile>
  567. <id>prod8004</id>
  568. <properties>
  569. <!--当前环境-->
  570. <profile.name>prod8004</profile.name>
  571. <!--Nacos服务地址-->
  572. <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
  573. <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
  574. <config.namespace></config.namespace>
  575. <!--Nacos配置分组名称-->
  576. <config.group>DEFAULT_GROUP</config.group>
  577. <!--Nacos用户名-->
  578. <config.username></config.username>
  579. <!--Nacos密码-->
  580. <config.password></config.password>
  581. </properties>
  582. </profile>
  583. <!-- SpringCloud运行环境 -->
  584. <profile>
  585. <id>SpringCloud</id>
  586. <modules>
  587. <!-- 微服务模块 -->
  588. <module>jeecg-server-cloud</module>
  589. </modules>
  590. </profile>
  591. </profiles>
  592. </project>