|
|
|
|
<?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">
|
|
|
|
|
<parent>
|
|
|
|
|
<artifactId>epdc-user</artifactId>
|
|
|
|
|
<groupId>com.esua.epdc</groupId>
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<artifactId>epdc-user-server</artifactId>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.esua.epdc</groupId>
|
|
|
|
|
<artifactId>epdc-user-client</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.esua.epdc</groupId>
|
|
|
|
|
<artifactId>epdc-commons-tools</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.esua.epdc</groupId>
|
|
|
|
|
<artifactId>epdc-commons-mybatis</artifactId>
|
|
|
|
|
<version>${project.version}</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>
|
|
|
|
|
</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>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>dev</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
|
|
|
|
|
|
|
|
<server.port>9068</server.port>
|
|
|
|
|
|
|
|
|
|
<spring.redis.index>2</spring.redis.index>
|
|
|
|
|
<spring.redis.host>47.104.224.45</spring.redis.host>
|
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
|
<spring.redis.password>elink@888</spring.redis.password>
|
|
|
|
|
|
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
|
<![CDATA[jdbc:mysql://47.104.224.45:3308/esua_epdc_user?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>elink833066</spring.datasource.druid.password>
|
|
|
|
|
|
|
|
|
|
<nacos.register-enabled>false</nacos.register-enabled>
|
|
|
|
|
<nacos.server-addr>47.104.224.45:8848</nacos.server-addr>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
|
<id>test</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
|
|
|
|
|
|
|
|
<server.port>9068</server.port>
|
|
|
|
|
|
|
|
|
|
<spring.redis.index>2</spring.redis.index>
|
|
|
|
|
<spring.redis.host>47.104.224.45</spring.redis.host>
|
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
|
<spring.redis.password>elink@888</spring.redis.password>
|
|
|
|
|
|
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
|
<![CDATA[jdbc:mysql://47.104.224.45:3308/esua_epdc_user?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>elink833066</spring.datasource.druid.password>
|
|
|
|
|
|
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
|
<nacos.server-addr>47.104.224.45:8848</nacos.server-addr>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
|
<id>prod</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
|
|
|
|
|
|
|
|
<server.port>9068</server.port>
|
|
|
|
|
|
|
|
|
|
<!-- redis配置 -->
|
|
|
|
|
<spring.redis.index>8</spring.redis.index>
|
|
|
|
|
<spring.redis.host>121.42.149.50</spring.redis.host>
|
|
|
|
|
<spring.redis.port>9001</spring.redis.port>
|
|
|
|
|
<spring.redis.password>elink888</spring.redis.password>
|
|
|
|
|
|
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
|
<![CDATA[jdbc:mysql://121.42.29.81:3306/esua_epdc_user?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>elink833066</spring.datasource.druid.password>
|
|
|
|
|
<!-- nacos -->
|
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
|
<nacos.server-addr>172.31.171.61:9300</nacos.server-addr>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
</project>
|