forked from rongchao/epmet-cloud-rizhao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
237 lines
10 KiB
237 lines
10 KiB
<?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>
|
|
<version>0.3.40</version>
|
|
<parent>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>gov-grid</artifactId>
|
|
<version>2.0.0</version>
|
|
</parent>
|
|
<artifactId>gov-grid-server</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>gov-grid-client</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
<!-- 替换Feign原生httpclient -->
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-httpclient</artifactId>
|
|
<version>10.3.0</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>gov-org-client</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>resi-partymember-client</artifactId>
|
|
<version>2.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>resi-group-client</artifactId>
|
|
<version>2.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-user-client</artifactId>
|
|
<version>2.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>dev</id>
|
|
<properties>
|
|
<server.port>8097</server.port>
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>192.168.1.140</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>123456</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>192.168.1.140:8848</nacos.server-addr>
|
|
<nacos.discovery.namespace>1fecc730-5e6e-464c-aae9-7567944e7936</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
<!--钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd
|
|
</dingTalk.robot.secret>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>local</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<server.port>8097</server.port>
|
|
<spring.profiles.active>local</spring.profiles.active>
|
|
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>192.168.1.140</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>123456</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>false</nacos.register-enabled>
|
|
<nacos.server-addr>192.168.1.140:8848</nacos.server-addr>
|
|
<nacos.discovery.namespace>1fecc730-5e6e-464c-aae9-7567944e7936</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>false</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
<!--钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd
|
|
</dingTalk.robot.secret>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>test</id>
|
|
<!--<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>-->
|
|
<properties>
|
|
<server.port>8097</server.port>
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>r-m5eoz5b6tkx09y6bpz.redis.rds.aliyuncs.com</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>EpmEtrEdIs!q@w</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>192.168.10.150:8848</nacos.server-addr>
|
|
<nacos.discovery.namespace>67e3c350-533e-4d7c-9f8f-faf1b4aa82ae</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>true</spring.flyway.enabled>
|
|
<!--测试钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd
|
|
</dingTalk.robot.secret>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>prod</id>
|
|
<!--<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>-->
|
|
<properties>
|
|
<server.port>8097</server.port>
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>r-m5ez3n1j0qc3ykq2ut.redis.rds.aliyuncs.com</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>EpmEtclOUdrEdIs!Q2w</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>192.168.11.180:8848</nacos.server-addr>
|
|
<nacos.discovery.namespace>bd205d23-e696-47be-b995-916313f86e99</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>false</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>true</spring.flyway.enabled>
|
|
|
|
<!--生产钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=a5f66c3374b1642fe2142dbf56d5997e280172d4e8f2b546c9423a68c82ece6c
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SEC95f4f40b533ad379ea6a6d1af6dd37029383cfe1b7cd96dfac2678be2c1c3ed1
|
|
</dingTalk.robot.secret>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
|
|
</project>
|
|
|