379 lines
13 KiB
XML
379 lines
13 KiB
XML
<?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-netflix</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>Spring Cloud Netflix</name>
|
|
<description>Spring Cloud Netflix</description>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>1.1.5.RELEASE</version>
|
|
<relativePath/>
|
|
<!-- lookup parent from repository -->
|
|
</parent>
|
|
|
|
<modules>
|
|
<module>spring-cloud-netflix-core</module>
|
|
<module>spring-cloud-netflix-hystrix-dashboard</module>
|
|
<module>spring-cloud-netflix-eureka-server</module>
|
|
<module>spring-cloud-netflix-turbine</module>
|
|
<module>spring-cloud-netflix-zuul</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-netflix-core</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-netflix-eureka-server</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-netflix-hystrix-dashboard</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-netflix-turbine</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.archaius</groupId>
|
|
<artifactId>archaius-core</artifactId>
|
|
<version>${archaius.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.eureka</groupId>
|
|
<artifactId>eureka-client</artifactId>
|
|
<version>${eureka.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.eureka</groupId>
|
|
<artifactId>eureka-core</artifactId>
|
|
<version>${eureka.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>log4j</artifactId>
|
|
<groupId>log4j</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.feign</groupId>
|
|
<artifactId>feign-core</artifactId>
|
|
<version>${feign.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.feign</groupId>
|
|
<artifactId>feign-ribbon</artifactId>
|
|
<version>${feign.version}</version>
|
|
</dependency>
|
|
<!--<dependency>
|
|
<groupId>com.netflix.feign</groupId>
|
|
<artifactId>feign-slf4j</artifactId>
|
|
<version>${feign.version}</version>
|
|
</dependency>-->
|
|
<dependency>
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
<artifactId>hystrix-core</artifactId>
|
|
<version>${hystrix.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
<artifactId>hystrix-metrics-event-stream</artifactId>
|
|
<version>${hystrix.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
<artifactId>hystrix-javanica</artifactId>
|
|
<version>${hystrix.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.ribbon</groupId>
|
|
<artifactId>ribbon-core</artifactId>
|
|
<version>${ribbon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.ribbon</groupId>
|
|
<artifactId>ribbon-httpclient</artifactId>
|
|
<version>${ribbon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.ribbon</groupId>
|
|
<artifactId>ribbon-eureka</artifactId>
|
|
<version>${ribbon.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.turbine</groupId>
|
|
<artifactId>turbine-core</artifactId>
|
|
<version>${turbine.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.zuul</groupId>
|
|
<artifactId>zuul-core</artifactId>
|
|
<version>${zuul.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.12.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-servlet</artifactId>
|
|
<version>1.13</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-core</artifactId>
|
|
<version>1.13</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-client</artifactId>
|
|
<version>1.13</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-server</artifactId>
|
|
<version>1.13</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.webjars</groupId>
|
|
<artifactId>d3js</artifactId>
|
|
<version>3.4.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.webjars</groupId>
|
|
<artifactId>jquery</artifactId>
|
|
<version>2.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.webjars</groupId>
|
|
<artifactId>bootstrap</artifactId>
|
|
<version>3.2.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>1.7</java.version>
|
|
<archaius.version>0.6.0</archaius.version>
|
|
<eureka.version>1.1.135</eureka.version>
|
|
<feign.version>6.1.2</feign.version>
|
|
<hystrix.version>1.4.0-RC4</hystrix.version>
|
|
<ribbon.version>0.3.13</ribbon.version>
|
|
<turbine.version>0.4</turbine.version>
|
|
<zuul.version>1.0.24</zuul.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jruby</groupId>
|
|
<artifactId>jruby-complete</artifactId>
|
|
<version>1.7.12</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>readme</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<tasks>
|
|
<java classname="org.jruby.Main" failonerror="yes">
|
|
<arg value="${basedir}/src/main/ruby/generate_readme.sh" />
|
|
<arg value="-o" />
|
|
<arg value="${basedir}/README.adoc" />
|
|
</java>
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.asciidoctor</groupId>
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
<version>1.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<sourceDocumentName>${project.artifactId}.adoc</sourceDocumentName>
|
|
<backend>html</backend>
|
|
<doctype>article</doctype>
|
|
<attributes>
|
|
<docinfo>true</docinfo>
|
|
<spring-cloud-version>${project.version}</spring-cloud-version>
|
|
</attributes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>milestone</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Milestone Repository</name>
|
|
<url>https://repo.spring.io/libs-milestone-local</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>central</id>
|
|
<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>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
<distributionManagement>
|
|
<!-- see 'staging' profile for dry-run deployment settings -->
|
|
<downloadUrl>http://www.springsource.com/download/community
|
|
</downloadUrl>
|
|
<site>
|
|
<id>spring-docs</id>
|
|
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-retry/docs/${project.version}
|
|
</url>
|
|
</site>
|
|
<repository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Release Repository</name>
|
|
<url>https://repo.spring.io/libs-release-local</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>repo.spring.io</id>
|
|
<name>Spring Snapshot Repository</name>
|
|
<url>https://repo.spring.io/libs-snapshot-local</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>http://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>http://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
</project>
|