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.
233 lines
9.2 KiB
233 lines
9.2 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.yushan</groupId>
|
|
<artifactId>epdc-cloud-parent-yushan</artifactId>
|
|
<version>1.0.0</version>
|
|
<relativePath>../epdc-cloud-parent-yushan</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>epdc-cloud-message</artifactId>
|
|
<packaging>jar</packaging>
|
|
<description>榆山党群e事通微服务短信服务</description>
|
|
|
|
<properties>
|
|
<aliyun.core.version>3.2.2</aliyun.core.version>
|
|
<aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
|
|
<qcloud.qcloudsms.version>1.0.5</qcloud.qcloudsms.version>
|
|
<freemarker.version>2.3.28</freemarker.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<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>com.aliyun</groupId>
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
<version>${aliyun.core.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
<version>${aliyun.dysmsapi.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.qcloudsms</groupId>
|
|
<artifactId>qcloudsms</artifactId>
|
|
<version>${qcloud.qcloudsms.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>${freemarker.version}</version>
|
|
</dependency>
|
|
|
|
<!-- client start -->
|
|
<dependency>
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
<artifactId>epdc-cloud-message-client</artifactId>
|
|
<version>${epdc-cloud-client.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
<artifactId>epdc-cloud-admin-client</artifactId>
|
|
<version>${epdc-cloud-client.version}</version>
|
|
</dependency>
|
|
<!-- client end -->
|
|
|
|
<!-- commons start -->
|
|
<dependency>
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
<artifactId>epdc-commons-tools</artifactId>
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
<artifactId>epdc-commons-mybatis</artifactId>
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
</dependency>
|
|
<!-- commons end -->
|
|
</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>
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
<docker.tag>dev</docker.tag>
|
|
|
|
<server.port>9062</server.port>
|
|
|
|
<spring.redis.index>9</spring.redis.index>
|
|
<spring.redis.host>114.215.125.123</spring.redis.host>
|
|
<spring.redis.port>9603</spring.redis.port>
|
|
<spring.redis.password>epdc!redis@master1405</spring.redis.password>
|
|
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:mysql://47.104.224.45:3308/esua_epdc_admin?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epdcyushan</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>
|
|
<nacos.ip></nacos.ip>
|
|
<nacos.namespace>6a3577b4-7b79-43f6-aebb-9c3f31263f6a</nacos.namespace>
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>test</id>
|
|
<properties>
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
<docker.tag>test</docker.tag>
|
|
|
|
<server.port>17031</server.port>
|
|
|
|
<spring.redis.index>9</spring.redis.index>
|
|
<spring.redis.host>114.215.125.123</spring.redis.host>
|
|
<spring.redis.port>9603</spring.redis.port>
|
|
<spring.redis.password>epdc!redis@master1405</spring.redis.password>
|
|
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:mysql://47.104.224.45:3308/yushan_esua_epdc_admin?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epdcyushan</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>
|
|
<nacos.ip>47.104.85.99</nacos.ip>
|
|
<nacos.namespace>de000340-5fc4-45aa-bdbc-dd96852012ad</nacos.namespace>
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>prod</id>
|
|
<properties>
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
<docker.tag>prod</docker.tag>
|
|
|
|
<server.port>9062</server.port>
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>172.31.0.2</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>Elink833066</spring.redis.password>
|
|
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:mysql://172.31.0.4:3306/esua_epdc_admin?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epdcyushan</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>elinkepdc@Yushan2020</spring.datasource.druid.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>172.31.0.2:8848</nacos.server-addr>
|
|
<nacos.ip></nacos.ip>
|
|
<nacos.namespace>47a8ed69-d219-4525-8174-532f2f7e0288</nacos.namespace>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|
|
|