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.
256 lines
7.6 KiB
256 lines
7.6 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> |
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-gateway</artifactId> |
|
<version>2.0.0.M1</version> |
|
<packaging>pom</packaging> |
|
|
|
<name>Spring Cloud Gateway</name> |
|
<description>Spring Cloud Gateway</description> |
|
|
|
<parent> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-build</artifactId> |
|
<version>2.0.0.M1</version> |
|
<relativePath/> |
|
</parent> |
|
<scm> |
|
<url>https://github.com/spring-cloud-incubator/spring-cloud-gateway</url> |
|
<connection>scm:git:git://github.com/spring-cloud-incubator/spring-cloud-gateway.git</connection> |
|
<developerConnection>scm:git:ssh://git@github.com/spring-cloud-incubator/spring-cloud-gateway.git |
|
</developerConnection> |
|
<tag>HEAD</tag> |
|
</scm> |
|
|
|
<licenses> |
|
<license> |
|
<name>Apache License, Version 2.0</name> |
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url> |
|
</license> |
|
</licenses> |
|
<developers> |
|
<developer> |
|
<id>sgibb</id> |
|
<name>Spencer Gibb</name> |
|
<email>sgibb at pivotal.io</email> |
|
<organization>Pivotal Software, Inc.</organization> |
|
<organizationUrl>http://www.spring.io</organizationUrl> |
|
<roles> |
|
<role>Project lead</role> |
|
</roles> |
|
</developer> |
|
</developers> |
|
|
|
<properties> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
<java.version>1.8</java.version> |
|
<spring-cloud-commons.version>2.0.0.M1</spring-cloud-commons.version> |
|
<spring-cloud-netflix.version>2.0.0.M1</spring-cloud-netflix.version> |
|
<spring-tuple.version>1.0.0.RELEASE</spring-tuple.version> |
|
</properties> |
|
|
|
<dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-gateway-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-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-starter-ribbon</artifactId> |
|
<version>${spring-cloud-netflix.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>com.netflix.ribbon</groupId> |
|
<artifactId>ribbon-transport</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>io.reactivex</groupId> |
|
<artifactId>rxnetty</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-eureka</artifactId> |
|
<version>${spring-cloud-netflix.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<!-- TODO: this should be optional --> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-web</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-hystrix</artifactId> |
|
<version>${spring-cloud-netflix.version}</version> |
|
</dependency> |
|
<!-- TODO: should be part of spring-cloud-starter-netflix? --> |
|
<dependency> |
|
<groupId>io.reactivex</groupId> |
|
<artifactId>rxjava-reactive-streams</artifactId> |
|
<version>1.2.1</version> |
|
<optional>true</optional> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-devtools</artifactId> |
|
<version>${spring-boot.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-tuple</artifactId> |
|
<version>${spring-tuple.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-core</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-context</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
|
|
<modules> |
|
<module>spring-cloud-gateway-dependencies</module> |
|
<module>spring-cloud-gateway-mvc</module> |
|
<module>spring-cloud-gateway-core</module> |
|
<module>spring-cloud-starter-gateway</module> |
|
<module>spring-cloud-gateway-sample</module> |
|
<module>docs</module> |
|
</modules> |
|
|
|
<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> |
|
<profile> |
|
<id>sonar</id> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.jacoco</groupId> |
|
<artifactId>jacoco-maven-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>pre-unit-test</id> |
|
<goals> |
|
<goal>prepare-agent</goal> |
|
</goals> |
|
<configuration> |
|
<propertyName>surefireArgLine</propertyName> |
|
<destFile>${project.build.directory}/jacoco.exec</destFile> |
|
</configuration> |
|
</execution> |
|
<execution> |
|
<id>post-unit-test</id> |
|
<phase>test</phase> |
|
<goals> |
|
<goal>report</goal> |
|
</goals> |
|
<configuration> |
|
<!-- Sets the path to the file which contains the execution data. --> |
|
<dataFile>${project.build.directory}/jacoco.exec</dataFile> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<configuration> |
|
<!-- Sets the VM argument line used when unit tests are run. --> |
|
<argLine>${surefireArgLine}</argLine> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
</profiles> |
|
|
|
</project>
|
|
|