559 lines
21 KiB
XML
559 lines
21 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<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">
|
|||
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs</artifactId>
|
|||
|
<version>3.0.0-SNAPSHOT</version>
|
|||
|
|
|||
|
<name>hzs</name>
|
|||
|
<description>微服务系统</description>
|
|||
|
|
|||
|
<packaging>pom</packaging>
|
|||
|
|
|||
|
<properties>
|
|||
|
<hzs.version>3.0.0-SNAPSHOT</hzs.version>
|
|||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|||
|
<java.version>1.8</java.version>
|
|||
|
<spring-boot.version>2.6.8</spring-boot.version>
|
|||
|
<spring-cloud.version>2021.0.1</spring-cloud.version>
|
|||
|
<spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
|
|||
|
<alibaba.nacos.version>2.0.4</alibaba.nacos.version>
|
|||
|
<!-- <alibaba.seata.version>1.5.1</alibaba.seata.version>-->
|
|||
|
<spring-boot-admin.version>2.6.7</spring-boot-admin.version>
|
|||
|
<spring-boot.mybatis>2.2.2</spring-boot.mybatis>
|
|||
|
<mybatis-plus.version>3.3.0</mybatis-plus.version>
|
|||
|
<kaptcha.version>2.3.2</kaptcha.version>
|
|||
|
<pagehelper.boot.version>1.4.1</pagehelper.boot.version>
|
|||
|
<druid.version>1.2.11</druid.version>
|
|||
|
<dynamic-ds.version>3.5.0</dynamic-ds.version>
|
|||
|
<commons.io.version>2.11.0</commons.io.version>
|
|||
|
<commons.fileupload.version>1.4</commons.fileupload.version>
|
|||
|
<velocity.version>2.3</velocity.version>
|
|||
|
<fastjson.version>2.0.8</fastjson.version>
|
|||
|
<jjwt.version>0.9.1</jjwt.version>
|
|||
|
<poi.version>4.1.2</poi.version>
|
|||
|
<commons-collections.version>3.2.2</commons-collections.version>
|
|||
|
<transmittable-thread-local.version>2.12.2</transmittable-thread-local.version>
|
|||
|
<lombok.version>1.18.22</lombok.version>
|
|||
|
<oracle.version>11.2.0.1.0</oracle.version>
|
|||
|
<aliyun-sdk-oss.version>3.13.0</aliyun-sdk-oss.version>
|
|||
|
<aliyun-sdk-sms.version>3.0.0</aliyun-sdk-sms.version>
|
|||
|
<ijapy.version>2.8.0</ijapy.version>
|
|||
|
<hutool.version>5.7.22</hutool.version>
|
|||
|
<itexpdf.version>7.1.7</itexpdf.version>
|
|||
|
<google.zxing.version>3.4.1</google.zxing.version>
|
|||
|
<commons-validator.version>1.7</commons-validator.version>
|
|||
|
<xxl-job.version>2.3.0</xxl-job.version>
|
|||
|
<huifu.version>1.2.10</huifu.version>
|
|||
|
<thumbnailator.version>0.4.17</thumbnailator.version>
|
|||
|
<schild.version>2.7.3</schild.version>
|
|||
|
<huifu-new.version>3.0.19</huifu-new.version>
|
|||
|
<bouncycastle.version>1.49</bouncycastle.version>
|
|||
|
</properties>
|
|||
|
|
|||
|
<!-- 依赖声明 -->
|
|||
|
<dependencyManagement>
|
|||
|
<dependencies>
|
|||
|
|
|||
|
<!-- SpringCloud 微服务 -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.springframework.cloud</groupId>
|
|||
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|||
|
<version>${spring-cloud.version}</version>
|
|||
|
<type>pom</type>
|
|||
|
<scope>import</scope>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- SpringCloud Alibaba 微服务 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.alibaba.cloud</groupId>
|
|||
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|||
|
<version>${spring-cloud-alibaba.version}</version>
|
|||
|
<type>pom</type>
|
|||
|
<scope>import</scope>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- Alibaba Nacos 配置 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.alibaba.nacos</groupId>
|
|||
|
<artifactId>nacos-client</artifactId>
|
|||
|
<version>${alibaba.nacos.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- Alibaba Seata 配置 -->
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>io.seata</groupId>-->
|
|||
|
<!-- <artifactId>seata-spring-boot-starter</artifactId>-->
|
|||
|
<!-- <version>${alibaba.seata.version}</version>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
|
|||
|
<!-- SpringBoot 依赖配置 -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-dependencies</artifactId>
|
|||
|
<version>${spring-boot.version}</version>
|
|||
|
<type>pom</type>
|
|||
|
<scope>import</scope>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- Mybatis 依赖配置 -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.mybatis.spring.boot</groupId>
|
|||
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|||
|
<version>${spring-boot.mybatis}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- mybatis plus -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.baomidou</groupId>
|
|||
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|||
|
<version>${mybatis-plus.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 验证码 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.github.penggle</groupId>
|
|||
|
<artifactId>kaptcha</artifactId>
|
|||
|
<version>${kaptcha.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- pagehelper 分页插件 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.github.pagehelper</groupId>
|
|||
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|||
|
<version>${pagehelper.boot.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- io常用工具类 -->
|
|||
|
<dependency>
|
|||
|
<groupId>commons-io</groupId>
|
|||
|
<artifactId>commons-io</artifactId>
|
|||
|
<version>${commons.io.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- excel工具 -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.apache.poi</groupId>
|
|||
|
<artifactId>poi-ooxml</artifactId>
|
|||
|
<version>${poi.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 文件上传工具类 -->
|
|||
|
<dependency>
|
|||
|
<groupId>commons-fileupload</groupId>
|
|||
|
<artifactId>commons-fileupload</artifactId>
|
|||
|
<version>${commons.fileupload.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- Collection 增强Java集合框架 -->
|
|||
|
<dependency>
|
|||
|
<groupId>commons-collections</groupId>
|
|||
|
<artifactId>commons-collections</artifactId>
|
|||
|
<version>${commons-collections.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- JSON 解析器和生成器 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.alibaba.fastjson2</groupId>
|
|||
|
<artifactId>fastjson2</artifactId>
|
|||
|
<version>${fastjson.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- JWT -->
|
|||
|
<dependency>
|
|||
|
<groupId>io.jsonwebtoken</groupId>
|
|||
|
<artifactId>jjwt</artifactId>
|
|||
|
<version>${jjwt.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 线程传递值 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.alibaba</groupId>
|
|||
|
<artifactId>transmittable-thread-local</artifactId>
|
|||
|
<version>${transmittable-thread-local.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 核心模块 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-common-core</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 安全模块 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-common-security</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 基础实体 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-common-domain</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 活动服务接口
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-activity</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
-->
|
|||
|
<!-- 会员服务接口 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-member</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- 报表服务接口 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-report</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- 销售服务接口 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-sale</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- 系统基础服务接口 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-system</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- 三方服务接口 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-third</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- 奖金服务接口 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-bonus</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- 进销存服务接口 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-api-scm</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- aop切面处理 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-common-aop</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 业务服务公共 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.hzs</groupId>
|
|||
|
<artifactId>hzs-business-common</artifactId>
|
|||
|
<version>${hzs.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- lombok -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.projectlombok</groupId>
|
|||
|
<artifactId>lombok</artifactId>
|
|||
|
<version>${lombok.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- oracle -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.oracle</groupId>
|
|||
|
<artifactId>ojdbc6</artifactId>
|
|||
|
<version>${oracle.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 阿里oss -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.aliyun.oss</groupId>
|
|||
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|||
|
<version>${aliyun-sdk-oss.version}</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>com.aliyun</groupId>
|
|||
|
<artifactId>dysmsapi20170525</artifactId>
|
|||
|
<version>${aliyun-sdk-sms.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 微信支付集成 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.github.javen205</groupId>
|
|||
|
<artifactId>IJPay-WxPay</artifactId>
|
|||
|
<version>${ijapy.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 支付宝支付集成 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.github.javen205</groupId>
|
|||
|
<artifactId>IJPay-AliPay</artifactId>
|
|||
|
<version>${ijapy.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- hutool工具包-->
|
|||
|
<dependency>
|
|||
|
<groupId>cn.hutool</groupId>
|
|||
|
<artifactId>hutool-all</artifactId>
|
|||
|
<version>${hutool.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 打印条形码-->
|
|||
|
<dependency>
|
|||
|
<groupId>com.itextpdf</groupId>
|
|||
|
<artifactId>itext7-core</artifactId>
|
|||
|
<version>${itexpdf.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- google 图形生成 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.google.zxing</groupId>
|
|||
|
<artifactId>core</artifactId>
|
|||
|
<version>${google.zxing.version}</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>com.google.zxing</groupId>
|
|||
|
<artifactId>javase</artifactId>
|
|||
|
<version>${google.zxing.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- apache common 校验工具包-->
|
|||
|
<dependency>
|
|||
|
<groupId>commons-validator</groupId>
|
|||
|
<artifactId>commons-validator</artifactId>
|
|||
|
<version>${commons-validator.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- xxl-job -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.xuxueli</groupId>
|
|||
|
<artifactId>xxl-job-core</artifactId>
|
|||
|
<version>${xxl-job.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 汇付支付引入 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.huifu.adapay</groupId>
|
|||
|
<artifactId>adapay-java-sdk</artifactId>
|
|||
|
<version>${huifu.version}</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>com.huifu.adapay.core</groupId>
|
|||
|
<artifactId>adapay-core-sdk</artifactId>
|
|||
|
<version>${huifu.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 图片压缩 -->
|
|||
|
<dependency>
|
|||
|
<groupId>net.coobird</groupId>
|
|||
|
<artifactId>thumbnailator</artifactId>
|
|||
|
<version>${thumbnailator.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 视频压缩 -->
|
|||
|
<dependency>
|
|||
|
<groupId>ws.schild</groupId>
|
|||
|
<artifactId>jave-core</artifactId>
|
|||
|
<version>${schild.version}</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>ws.schild</groupId>
|
|||
|
<artifactId>jave-nativebin-win64</artifactId>
|
|||
|
<version>${schild.version}</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>ws.schild</groupId>
|
|||
|
<artifactId>jave-nativebin-linux64</artifactId>
|
|||
|
<version>${schild.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 快钱支付 -->
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>com.cfca</groupId>-->
|
|||
|
<!-- <artifactId>SADK</artifactId>-->
|
|||
|
<!-- <version>3.7.0.1</version>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>com.cfca</groupId>-->
|
|||
|
<!-- <artifactId>logback-cfca-jdk1.6</artifactId>-->
|
|||
|
<!-- <version>4.2.1.0</version>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>com.bill99</groupId>-->
|
|||
|
<!-- <artifactId>crypto-sdk</artifactId>-->
|
|||
|
<!-- <version>1.0.1</version>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
|
|||
|
<!-- 汇付新SDK -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.huifu.bspay.sdk</groupId>
|
|||
|
<artifactId>dg-java-sdk</artifactId>
|
|||
|
<version>${huifu-new.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>org.bouncycastle</groupId>
|
|||
|
<artifactId>bcprov-jdk15on</artifactId>
|
|||
|
<version>${bouncycastle.version}</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>org.bouncycastle</groupId>
|
|||
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|||
|
<version>${bouncycastle.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
</dependencies>
|
|||
|
</dependencyManagement>
|
|||
|
|
|||
|
<modules>
|
|||
|
<module>code-util</module>
|
|||
|
<module>hzs-api</module>
|
|||
|
<module>hzs-business</module>
|
|||
|
<module>hzs-common</module>
|
|||
|
<module>hzs-gateway</module>
|
|||
|
<module>hzs-third</module>
|
|||
|
</modules>
|
|||
|
|
|||
|
<dependencies>
|
|||
|
<!-- bootstrap 启动器 -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.springframework.cloud</groupId>
|
|||
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|||
|
</dependency>
|
|||
|
</dependencies>
|
|||
|
|
|||
|
<distributionManagement>
|
|||
|
<repository>
|
|||
|
<id>nexus-releases</id>
|
|||
|
<name>maven-releases</name>
|
|||
|
<url>http://182.92.11.203:8090/repository/maven-releases/</url>
|
|||
|
</repository>
|
|||
|
<snapshotRepository>
|
|||
|
<id>nexus-snapshots</id>
|
|||
|
<name>maven-snapshots</name>
|
|||
|
<url>http://182.92.11.203:8090/repository/maven-snapshots/</url>
|
|||
|
</snapshotRepository>
|
|||
|
</distributionManagement>
|
|||
|
|
|||
|
<repositories>
|
|||
|
<!-- 私有仓库 -->
|
|||
|
<repository>
|
|||
|
<id>maven-public</id>
|
|||
|
<name>maven-public</name>
|
|||
|
<url>http://182.92.11.203:8090/repository/maven-public/</url>
|
|||
|
<releases>
|
|||
|
<enabled>true</enabled>
|
|||
|
</releases>
|
|||
|
<snapshots>
|
|||
|
<enabled>true</enabled>
|
|||
|
</snapshots>
|
|||
|
</repository>
|
|||
|
<!--阿里云镜像仓库-->
|
|||
|
<repository>
|
|||
|
<id>public</id>
|
|||
|
<name>aliyun nexus</name>
|
|||
|
<url>https://maven.aliyun.com/repository/public</url>
|
|||
|
<releases>
|
|||
|
<enabled>true</enabled>
|
|||
|
</releases>
|
|||
|
<snapshots>
|
|||
|
<enabled>false</enabled>
|
|||
|
</snapshots>
|
|||
|
</repository>
|
|||
|
</repositories>
|
|||
|
|
|||
|
<build>
|
|||
|
<plugins>
|
|||
|
<plugin>
|
|||
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
<artifactId>maven-compiler-plugin</artifactId>
|
|||
|
<configuration>
|
|||
|
<source>${java.version}</source>
|
|||
|
<target>${java.version}</target>
|
|||
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|||
|
</configuration>
|
|||
|
</plugin>
|
|||
|
<plugin>
|
|||
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
<artifactId>maven-resources-plugin</artifactId>
|
|||
|
<configuration>
|
|||
|
<encoding>UTF-8</encoding>
|
|||
|
<nonFilteredFileExtensions>
|
|||
|
<nonFilteredFileExtension>pfx</nonFilteredFileExtension>
|
|||
|
<nonFilteredFileExtension>cer</nonFilteredFileExtension>
|
|||
|
</nonFilteredFileExtensions>
|
|||
|
</configuration>
|
|||
|
</plugin>
|
|||
|
</plugins>
|
|||
|
|
|||
|
<resources>
|
|||
|
<resource>
|
|||
|
<directory>src/main/resources</directory>
|
|||
|
<!-- 开启过滤,处理资源文件参数替换 -->
|
|||
|
<filtering>true</filtering>
|
|||
|
</resource>
|
|||
|
<resource>
|
|||
|
<directory>src/main/java</directory>
|
|||
|
<includes>
|
|||
|
<include>**/*.xml</include>
|
|||
|
</includes>
|
|||
|
</resource>
|
|||
|
</resources>
|
|||
|
</build>
|
|||
|
|
|||
|
<!-- 环境 -->
|
|||
|
<profiles>
|
|||
|
<!-- 测试 -->
|
|||
|
<profile>
|
|||
|
<id>test</id>
|
|||
|
<activation>
|
|||
|
<!--默认激活配置-->
|
|||
|
<activeByDefault>true</activeByDefault>
|
|||
|
</activation>
|
|||
|
<properties>
|
|||
|
<!--当前环境-->
|
|||
|
<profile.name>test</profile.name>
|
|||
|
<!--Nacos服务地址-->
|
|||
|
<config.server-addr>localhost:8848</config.server-addr>
|
|||
|
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
|||
|
<config.namespace></config.namespace>
|
|||
|
<!--Nacos配置分组名称-->
|
|||
|
<config.group>DEFAULT_GROUP</config.group>
|
|||
|
<!--Nacos用户名-->
|
|||
|
<config.username></config.username>
|
|||
|
<!--Nacos密码-->
|
|||
|
<config.password></config.password>
|
|||
|
</properties>
|
|||
|
</profile>
|
|||
|
<!-- 生产 -->
|
|||
|
<profile>
|
|||
|
<id>online</id>
|
|||
|
<properties>
|
|||
|
<!--当前环境-->
|
|||
|
<profile.name>online</profile.name>
|
|||
|
<!--Nacos服务地址-->
|
|||
|
<config.server-addr>localhost:8848</config.server-addr>
|
|||
|
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
|||
|
<config.namespace></config.namespace>
|
|||
|
<!--Nacos配置分组名称-->
|
|||
|
<config.group>DEFAULT_GROUP</config.group>
|
|||
|
<!--Nacos用户名-->
|
|||
|
<config.username></config.username>
|
|||
|
<!--Nacos密码-->
|
|||
|
<config.password></config.password>
|
|||
|
</properties>
|
|||
|
</profile>
|
|||
|
</profiles>
|
|||
|
|
|||
|
</project>
|