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.
273 lines
12 KiB
273 lines
12 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>
|
|
|
|
<parent>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-admin</artifactId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
|
|
<artifactId>epdc-admin-server</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-admin-client</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-commons-mybatis</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-commons-dynamic-datasource</artifactId>
|
|
<version>1.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>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
<version>${spring.boot.admin.version}</version>
|
|
</dependency>
|
|
<!-- zipkin client -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-zipkin</artifactId>
|
|
</dependency>
|
|
<!--微信小程序-->
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-commons-tools-wx-ma</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!-- 替换Feign原生httpclient -->
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-httpclient</artifactId>
|
|
<version>10.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-events-client</artifactId>
|
|
<version>1.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!--RocketMq-->
|
|
<dependency>
|
|
<groupId>org.apache.rocketmq</groupId>
|
|
<artifactId>rocketmq-spring-boot-starter</artifactId>
|
|
<version>2.0.2</version>
|
|
</dependency>
|
|
|
|
<!--接口版本控制-->
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-commons-api-version-control</artifactId>
|
|
<version>${project.version}</version>
|
|
</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
<resources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>**/application*.yml</include>
|
|
<include>**/*.properties</include>
|
|
<include>logback-spring.xml</include>
|
|
<include>registry.conf</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<excludes>
|
|
<exclude>**/application*.yml</exclude>
|
|
<exclude>**/*.properties</exclude>
|
|
<exclude>logback-spring.xml</exclude>
|
|
<exclude>registry.conf</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>dev</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<server.port>9092</server.port>
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
|
|
<spring.redis.index>11</spring.redis.index>
|
|
<spring.redis.host>r-v0l694084401a044pd.redis.rds.aliyuncs.com</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>CJ!redis@elink</spring.redis.password>
|
|
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:mysql://rm-m5eguiv2827bdye798o.mysql.rds.aliyuncs.com:10001/js_esua_epdc_admin?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>jinshui_epdc_test</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>jinshui@833066</spring.datasource.druid.password>
|
|
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>false</nacos.register-enabled>
|
|
<nacos.server-addr>47.104.92.53:8848</nacos.server-addr>
|
|
<nacos.ip></nacos.ip>
|
|
<nacos.namespace>845f2ce1-7dc6-4a2a-9d26-37c509fabad6</nacos.namespace>
|
|
|
|
<spring.zipkin.base-url>http://localhost:9411</spring.zipkin.base-url>
|
|
|
|
<!--居民端小程序配置-->
|
|
<wx.ma.appId>wx6dcf544cdae7d4ec</wx.ma.appId>
|
|
<wx.ma.secret>9e0882274ad3821400370312a56a8470</wx.ma.secret>
|
|
<!--工作端小程序-->
|
|
<work.wx.ma.appId>wx826a8435db9e0947</work.wx.ma.appId>
|
|
<work.wx.ma.secret>cbcb7c422f00d165105b34dc80bb825f</work.wx.ma.secret>
|
|
<!--数据分析端小程序-->
|
|
<analysis.wx.ma.appId>wx3ea0a6fb71ddf659</analysis.wx.ma.appId>
|
|
<analysis.wx.ma.secret>2154e86d56df9fae4224c93a17e01bb3</analysis.wx.ma.secret>
|
|
<!--志愿者去哪儿小程序-->
|
|
<volunteer.wx.ma.appId>wxc4fe0ea629aaa309</volunteer.wx.ma.appId>
|
|
<volunteer.wx.ma.secret>34fa86621c3c1dcebd39db333e746d88</volunteer.wx.ma.secret>
|
|
|
|
<!--RocketMQ-->
|
|
<rocketmq.name.server>114.215.125.123:9876</rocketmq.name.server>
|
|
<rocketmq.producer.group>jinshui-organizationGroup</rocketmq.producer.group>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>test</id>
|
|
<properties>
|
|
<server.port>10602</server.port>
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>6</spring.redis.index>
|
|
<spring.redis.host>r-v0l694084401a044pd.redis.rds.aliyuncs.com</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>CJ!redis@elink</spring.redis.password>
|
|
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:mysql://rm-m5eguiv2827bdye798o.mysql.rds.aliyuncs.com:10001/js_esua_epdc_admin?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>jinshui_epdc_test</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>jinshui@833066</spring.datasource.druid.password>
|
|
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>47.104.92.53:8848</nacos.server-addr>
|
|
<nacos.ip>47.104.92.53</nacos.ip>
|
|
<nacos.namespace>845f2ce1-7dc6-4a2a-9d26-37c509fabad6</nacos.namespace>
|
|
|
|
<spring.zipkin.base-url>http://localhost:9411</spring.zipkin.base-url>
|
|
|
|
<!--居民端小程序配置-->
|
|
<wx.ma.appId>wx6dcf544cdae7d4ec</wx.ma.appId>
|
|
<wx.ma.secret>9e0882274ad3821400370312a56a8470</wx.ma.secret>
|
|
<!--工作端小程序-->
|
|
<work.wx.ma.appId>wx826a8435db9e0947</work.wx.ma.appId>
|
|
<work.wx.ma.secret>cbcb7c422f00d165105b34dc80bb825f</work.wx.ma.secret>
|
|
<!--数据分析端小程序-->
|
|
<analysis.wx.ma.appId>wx3ea0a6fb71ddf659</analysis.wx.ma.appId>
|
|
<analysis.wx.ma.secret>2154e86d56df9fae4224c93a17e01bb3</analysis.wx.ma.secret>
|
|
<!--志愿者去哪儿小程序-->
|
|
<volunteer.wx.ma.appId>wxc4fe0ea629aaa309</volunteer.wx.ma.appId>
|
|
<volunteer.wx.ma.secret>34fa86621c3c1dcebd39db333e746d88</volunteer.wx.ma.secret>
|
|
<!--RocketMQ-->
|
|
<rocketmq.name.server>114.215.125.123:9876</rocketmq.name.server>
|
|
<rocketmq.producer.group>jinshui-organizationGroup</rocketmq.producer.group>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>prod</id>
|
|
<properties>
|
|
<server.port>9100</server.port>
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
<docker.tag>prod</docker.tag>
|
|
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>172.16.0.7:8848</nacos.server-addr>
|
|
<nacos.ip>172.16.0.7</nacos.ip>
|
|
<nacos.namespace></nacos.namespace>
|
|
|
|
<spring.zipkin.base-url>http://172.31.171.61:9411</spring.zipkin.base-url>
|
|
<!--居民端小程序配置-->
|
|
<wx.ma.appId>wx6dcf544cdae7d4ec</wx.ma.appId>
|
|
<wx.ma.secret>9e0882274ad3821400370312a56a8470</wx.ma.secret>
|
|
<!--工作端小程序-->
|
|
<work.wx.ma.appId>wx826a8435db9e0947</work.wx.ma.appId>
|
|
<work.wx.ma.secret>cbcb7c422f00d165105b34dc80bb825f</work.wx.ma.secret>
|
|
<!--数据分析端小程序-->
|
|
<analysis.wx.ma.appId>wx3ea0a6fb71ddf659</analysis.wx.ma.appId>
|
|
<analysis.wx.ma.secret>2154e86d56df9fae4224c93a17e01bb3</analysis.wx.ma.secret>
|
|
<!--志愿者去哪儿小程序-->
|
|
<volunteer.wx.ma.appId>wxc4fe0ea629aaa309</volunteer.wx.ma.appId>
|
|
<volunteer.wx.ma.secret>34fa86621c3c1dcebd39db333e746d88</volunteer.wx.ma.secret>
|
|
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:mysql://rm-m5e4l333jb61be50n.mysql.rds.aliyuncs.com:3306/esua_epdc_admin?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epdc</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>epdc@jinshui888</spring.datasource.druid.password>
|
|
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>172.16.0.8</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>epdc!redis@master1405</spring.redis.password>
|
|
|
|
<!--RocketMQ-->
|
|
<rocketmq.name.server>172.16.0.7:9876;172.16.0.8:9876</rocketmq.name.server>
|
|
<rocketmq.producer.group>jinshui-organizationGroup</rocketmq.producer.group>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|
|
|