|
|
|
<?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>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.1.7.RELEASE</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>com.esua.epdc.shibei</groupId>
|
|
|
|
<artifactId>esua-epdc</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<description>亿联党建e家</description>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>epdc-cloud-commons-shibei</module>
|
|
|
|
<module>epdc-cloud-gateway-shibei</module>
|
|
|
|
<module>epdc-cloud-parent-shibei</module>
|
|
|
|
<module>epdc-auth</module>
|
|
|
|
<module>epdc-admin</module>
|
|
|
|
<module>epdc-module</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<docker.plugin.version>1.1.1</docker.plugin.version>
|
|
|
|
<docker.repostory>47.104.85.99:9002</docker.repostory>
|
|
|
|
<dockerfile-maven-plugin.version>1.4.13</dockerfile-maven-plugin.version>
|
|
|
|
<docker.tag>prod</docker.tag>
|
|
|
|
<docker.repository.prefix>registry.cn-qingdao.aliyuncs.com/esua-epdc-shibei/</docker.repository.prefix>
|
|
|
|
<flyway-core.version>5.2.4</flyway-core.version>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<seata.version>0.8.0</seata.version>
|
|
|
|
<server.port>9508</server.port>
|
|
|
|
<spring.boot.admin.version>2.0.3</spring.boot.admin.version>
|
|
|
|
<spring-cloud-starter-alibaba-nacos-config.version>2.1.1.RELEASE
|
|
|
|
</spring-cloud-starter-alibaba-nacos-config.version>
|
|
|
|
<spring.cloud.version>Greenwich.RELEASE</spring.cloud.version>
|
|
|
|
<spring-cloud-alibaba-dependencies.version>2.1.0.RELEASE</spring-cloud-alibaba-dependencies.version>
|
|
|
|
<swagger.version>2.7.0</swagger.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
<version>${spring.cloud.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-alibaba-dependencies.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.seata</groupId>
|
|
|
|
<artifactId>seata-all</artifactId>
|
|
|
|
<version>${seata.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
<version>2.1.1.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
<version>${flyway-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<!-- <build>-->
|
|
|
|
<!-- <pluginManagement>-->
|
|
|
|
<!-- <plugins>-->
|
|
|
|
<!-- <plugin>-->
|
|
|
|
<!-- <groupId>com.spotify</groupId>-->
|
|
|
|
<!-- <artifactId>dockerfile-maven-plugin</artifactId>-->
|
|
|
|
<!-- <version>${dockerfile-maven-plugin.version}</version>-->
|
|
|
|
<!-- <executions>-->
|
|
|
|
<!-- <execution>-->
|
|
|
|
<!-- <id>default</id>-->
|
|
|
|
<!-- <goals>-->
|
|
|
|
<!-- <!–如果package时不想用docker打包,就注释掉这个goal–>-->
|
|
|
|
<!-- <goal>build</goal>-->
|
|
|
|
<!-- <goal>push</goal>-->
|
|
|
|
<!-- </goals>-->
|
|
|
|
<!-- </execution>-->
|
|
|
|
<!-- </executions>-->
|
|
|
|
<!-- <configuration>-->
|
|
|
|
<!-- <finalName>${project.artifactId}</finalName>-->
|
|
|
|
<!-- <username>elink201801</username>-->
|
|
|
|
<!-- <password>elink833066</password>-->
|
|
|
|
<!-- <repository>${docker.repository.prefix}${project.artifactId}</repository>-->
|
|
|
|
<!-- <tag>${docker.tag}</tag>-->
|
|
|
|
<!-- <buildArgs>-->
|
|
|
|
<!-- <!–提供参数向Dockerfile传递–>-->
|
|
|
|
<!-- <JAR_CONFIG>-Xmx256m -Xms256m -Xmn160m -Xss128k</JAR_CONFIG>-->
|
|
|
|
<!-- <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>-->
|
|
|
|
<!-- <JAR_NAME>${project.artifactId}</JAR_NAME>-->
|
|
|
|
<!-- <SERVER_PORT>${server.port}</SERVER_PORT>-->
|
|
|
|
<!-- </buildArgs>-->
|
|
|
|
<!-- </configuration>-->
|
|
|
|
<!-- </plugin>-->
|
|
|
|
<!-- </plugins>-->
|
|
|
|
<!-- </pluginManagement>-->
|
|
|
|
<!-- </build>-->
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>elink-release</id>
|
|
|
|
<name>aliyun nexus</name>
|
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>centerl-release</id>
|
|
|
|
<name>centerl</name>
|
|
|
|
<url>https://repo1.maven.org/maven2/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>sonatype</id>
|
|
|
|
<name>sonatype nexus</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>public</id>
|
|
|
|
<name>aliyun nexus</name>
|
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
</project>
|