|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-build</artifactId>
|
|
|
|
<version>2.2.3.RELEASE</version>
|
|
|
|
<relativePath/>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-alibaba</artifactId>
|
|
|
|
<version>2.2.1.BUILD-SNAPSHOT</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Spring Cloud Alibaba</name>
|
|
|
|
<description>Spring Cloud Alibaba</description>
|
|
|
|
<url>https://github.com/alibaba/spring-cloud-alibaba</url>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<url>https://github.com/alibaba/spring-cloud-alibaba</url>
|
|
|
|
<connection>
|
|
|
|
scm:git:git://github.com/alibaba/spring-cloud-alibaba.git
|
|
|
|
</connection>
|
|
|
|
<developerConnection>
|
|
|
|
scm:git:ssh://git@github.com/alibaba/spring-cloud-alibaba.git
|
|
|
|
</developerConnection>
|
|
|
|
<tag>HEAD</tag>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>xiaojing</name>
|
|
|
|
<email>flystar32@163.com</email>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>Jim Fang</name>
|
|
|
|
<email>fangjian0423@gmail.com</email>
|
|
|
|
<organization>Alibaba</organization>
|
|
|
|
<url>https://github.com/fangjian0423</url>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>xiaolongzuo</name>
|
|
|
|
<email>150349407@qq.com</email>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>hengyunabc</name>
|
|
|
|
<email>hengyunabc@gmail.com</email>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<id>mercyblitz</id>
|
|
|
|
<name>Mercy Ma</name>
|
|
|
|
<email>mercyblitz@gmail.com</email>
|
|
|
|
<organization>Alibaba</organization>
|
|
|
|
<url>https://github.com/mercyblitz</url>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>yunzheng</name>
|
|
|
|
<email>yunzheng1228@gmail.com</email>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- Dependency Versions -->
|
|
|
|
<spring-cloud-commons.version>2.2.2.RELEASE</spring-cloud-commons.version>
|
|
|
|
<spring-cloud-netflix.version>2.2.2.RELEASE</spring-cloud-netflix.version>
|
|
|
|
<spring-cloud-openfeign.version>2.2.2.RELEASE</spring-cloud-openfeign.version>
|
|
|
|
<spring-cloud-bus.version>2.2.1.RELEASE</spring-cloud-bus.version>
|
|
|
|
<spring-cloud-gateway.version>2.2.2.RELEASE</spring-cloud-gateway.version>
|
|
|
|
<spring-cloud-stream.version>Horsham.SR3</spring-cloud-stream.version>
|
|
|
|
<spring-cloud-consul.version>2.2.2.RELEASE</spring-cloud-consul.version>
|
|
|
|
<spring-cloud-config.version>2.2.2.RELEASE</spring-cloud-config.version>
|
|
|
|
<spring-cloud-zookeeper.version>2.2.1.RELEASE</spring-cloud-zookeeper.version>
|
|
|
|
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
<javax-servlet-api>3.0</javax-servlet-api>
|
|
|
|
<slf4j-api.version>1.7.25</slf4j-api.version>
|
|
|
|
|
|
|
|
<!-- Apache Dubbo -->
|
|
|
|
<dubbo.version>2.7.4.1</dubbo.version>
|
|
|
|
<curator.version>4.0.1</curator.version>
|
|
|
|
|
|
|
|
<!-- Apache RocketMQ -->
|
|
|
|
<rocketmq.starter.version>2.0.2</rocketmq.starter.version>
|
|
|
|
|
|
|
|
<!-- Maven Plugin Versions -->
|
|
|
|
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
|
|
|
|
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
|
|
|
|
<gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
|
|
|
|
<jacoco.version>0.8.3</jacoco.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>spring-cloud-alibaba-dependencies</module>
|
|
|
|
<module>spring-cloud-alibaba-examples</module>
|
|
|
|
<module>spring-cloud-alibaba-docs</module>
|
|
|
|
<module>spring-cloud-alibaba-starters</module>
|
|
|
|
<module>spring-cloud-alibaba-coverage</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- Spring Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-commons-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-commons.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-test-support</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${spring-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-netflix-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-netflix.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-openfeign-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-openfeign.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-config-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-config.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-bus-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-bus.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-gateway-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-gateway.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-stream-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-stream.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-consul-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-consul.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-zookeeper-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-zookeeper.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Dubbo Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
<artifactId>dubbo-dependencies-bom</artifactId>
|
|
|
|
<version>${dubbo.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-framework-bom</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
|
|
|
<version>${dubbo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
<artifactId>dubbo-spring-boot-actuator</artifactId>
|
|
|
|
<version>${dubbo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
<artifactId>dubbo</artifactId>
|
|
|
|
<version>${dubbo.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.rocketmq</groupId>
|
|
|
|
<artifactId>rocketmq-spring-boot-starter</artifactId>
|
|
|
|
<version>${rocketmq.starter.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>${jacoco.version}</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useProjectReferences>false</useProjectReferences>
|
|
|
|
<additionalConfig>
|
|
|
|
<file>
|
|
|
|
<name>.settings/org.eclipse.jdt.ui.prefs</name>
|
|
|
|
<location>
|
|
|
|
${maven.multiModuleProjectDirectory}/eclipse/org.eclipse.jdt.ui.prefs
|
|
|
|
</location>
|
|
|
|
</file>
|
|
|
|
<file>
|
|
|
|
<name>.settings/org.eclipse.jdt.core.prefs</name>
|
|
|
|
<location>
|
|
|
|
${maven.multiModuleProjectDirectory}/eclipse/org.eclipse.jdt.core.prefs
|
|
|
|
</location>
|
|
|
|
</file>
|
|
|
|
</additionalConfig>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.spring.javaformat</groupId>
|
|
|
|
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>checkstyle-validation</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- Checkstyle rules inherited from spring-cloud-build -->
|
|
|
|
<suppressionsLocation>eclipse/checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<violationSeverity>warning</violationSeverity>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
<parameters>true</parameters>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>spring</id>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spring-snapshots</id>
|
|
|
|
<name>Spring Snapshots</name>
|
|
|
|
<url>https://repo.spring.io/libs-snapshot-local</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>https://repo.spring.io/libs-milestone-local</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spring-releases</id>
|
|
|
|
<name>Spring Releases</name>
|
|
|
|
<url>https://repo.spring.io/release</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-snapshots</id>
|
|
|
|
<name>Spring Snapshots</name>
|
|
|
|
<url>https://repo.spring.io/libs-snapshot-local</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>https://repo.spring.io/libs-milestone-local</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-releases</id>
|
|
|
|
<name>Spring Releases</name>
|
|
|
|
<url>https://repo.spring.io/libs-release-local</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>sonatype-nexus-snapshots</id>
|
|
|
|
<name>Sonatype Nexus Snapshots</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
|
|
<id>sonatype-nexus-staging</id>
|
|
|
|
<name>Nexus Release Repository</name>
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|