454 lines
19 KiB
XML
454 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (C) 2016 to the original authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<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.cloud</groupId>
|
|
<artifactId>spring-cloud-build</artifactId>
|
|
<version>1.3.0.BUILD-SNAPSHOT</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-kubernetes</artifactId>
|
|
<version>0.2.0.BUILD-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>Spring Cloud Kubernetes</name>
|
|
|
|
<url>http://cloud.spring.io</url>
|
|
<inceptionYear>2016</inceptionYear>
|
|
|
|
<organization>
|
|
<name>Pivotal Software, Inc.</name>
|
|
<url>http://www.spring.io</url>
|
|
</organization>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<url>https://github.com/spring-cloud-incubator/spring-cloud-kubernetes</url>
|
|
<connection>scm:git:git://github.com/spring-cloud-incubator/spring-cloud-kubernetes.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/spring-cloud-incubator/spring-cloud-kubernetes.git</developerConnection>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<properties>
|
|
<!-- Dependency Versions -->
|
|
<commons-logging.version>1.2</commons-logging.version>
|
|
<kubernetes-client.version>1.4.14</kubernetes-client.version>
|
|
<mockwebserver.version>0.0.4</mockwebserver.version>
|
|
<lombok.version>1.16.10</lombok.version>
|
|
<hibernate-validator.version>5.2.4.Final</hibernate-validator.version>
|
|
<servlet-api.version>2.5</servlet-api.version>
|
|
<spock-spring.version>1.0-groovy-2.3</spock-spring.version>
|
|
<spring-boot.version>1.4.1.RELEASE</spring-boot.version>
|
|
<spring-cloud.version>Brixton.SR6</spring-cloud.version>
|
|
<spring.version>4.3.3.RELEASE</spring.version>
|
|
<junit.version>4.12</junit.version>
|
|
|
|
<!-- Maven Plugin Versions -->
|
|
<maven-compiler-plugin.version>3.5</maven-compiler-plugin.version>
|
|
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
|
<fabric8.maven.plugin.version>3.1.69</fabric8.maven.plugin.version>
|
|
<gmavenplus-plugin.version>1.2</gmavenplus-plugin.version>
|
|
<sundrio-plugin.vesion>0.3.4</sundrio-plugin.vesion>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>spring-cloud-kubernetes-discovery</module>
|
|
<module>spring-cloud-kubernetes-core</module>
|
|
<module>spring-cloud-starter-kubernetes</module>
|
|
<module>spring-cloud-kubernetes-ribbon</module>
|
|
<module>spring-cloud-kubernetes-zipkin</module>
|
|
<module>spring-cloud-kubernetes-compat</module>
|
|
<module>spring-cloud-kubernetes-hystrix</module>
|
|
<module>spring-cloud-kubernetes-archaius</module>
|
|
<module>spring-cloud-starter-kubernetes-netflix</module>
|
|
<module>spring-cloud-starter-kubernetes-zipkin</module>
|
|
<module>spring-cloud-starter-kubernetes-all</module>
|
|
<module>spring-cloud-kubernetes-examples</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>kubernetes-client-bom-with-deps</artifactId>
|
|
<version>${kubernetes-client.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- Spring Boot-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- Spring Cloud -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- Own dependencies -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-kubernetes-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-kubernetes-archaius</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-kubernetes-discovery</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-kubernetes-hystrix</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-kubernetes-ribbon</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-kubernetes-zipkin</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- 3rd Party -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>${servlet-api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>${commons-logging.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.16.8</version>
|
|
<scope>provided</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Testing Dependencies -->
|
|
<dependency>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>mockwebserver</artifactId>
|
|
<version>${mockwebserver.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>kubernetes-client</artifactId>
|
|
<version>${kubernetes-client.version}</version>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.spockframework</groupId>
|
|
<artifactId>spock-spring</artifactId>
|
|
<version>${spock-spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<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>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.gmavenplus</groupId>
|
|
<artifactId>gmavenplus-plugin</artifactId>
|
|
<version>${gmavenplus-plugin.version}</version>
|
|
<inherited>true</inherited>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
<plugin>
|
|
<groupId>io.sundr</groupId>
|
|
<artifactId>sundr-maven-plugin</artifactId>
|
|
<version>${sundrio-plugin.vesion}</version>
|
|
<configuration>
|
|
<boms>
|
|
<bom>
|
|
<artifactId>spring-cloud-kubernetes-bom</artifactId>
|
|
<name>Spring Cloud Kubernetes :: Bom</name>
|
|
<dependencies>
|
|
<includes>
|
|
<include>io.fabric8:kubernetes-*</include>
|
|
<include>io.fabric8:openshift-*</include>
|
|
</includes>
|
|
</dependencies>
|
|
<plugins>
|
|
<includes>
|
|
<include>org.springframework.cloud.kubernetes:*</include>
|
|
</includes>
|
|
</plugins>
|
|
<properties>
|
|
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
|
|
</properties>
|
|
<inheritPluginManagement>true</inheritPluginManagement>
|
|
</bom>
|
|
<bom>
|
|
<artifactId>spring-cloud-kubernetes-bom-with-platform-deps</artifactId>
|
|
<name>Spring Cloud Kubernetes :: Bom with Platform Dependencies</name>
|
|
<dependencies>
|
|
<includes>
|
|
<include>javax.*:*</include>
|
|
<!-- Kubernetes Client -->
|
|
<include>io.fabric8:kubernetes-*</include>
|
|
<include>io.fabric8:openshift-*</include>
|
|
<include>com.squareup.okhttp:*</include>
|
|
<include>com.squareup.okio:*</include>
|
|
|
|
<!-- Spring -->
|
|
<include>org.springframework:*</include>
|
|
<include>org.springframework.boot:*</include>
|
|
<include>org.springframework.cloud:*</include>
|
|
<!-- Netflix -->
|
|
<include>com.netflix:*</include>
|
|
<!-- Common Transitives -->
|
|
<include>io.reactivex:*</include>
|
|
<include>io.zipkin.java:*</include>
|
|
<include>io.netty:*</include>
|
|
<include>com.google.guava:*</include>
|
|
<include>commons-*:*</include>
|
|
</includes>
|
|
</dependencies>
|
|
<plugins>
|
|
<includes>
|
|
<include>io.fabric8:*</include>
|
|
<include>org.springframework.boot:*</include>
|
|
</includes>
|
|
</plugins>
|
|
<properties>
|
|
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
|
|
</properties>
|
|
<inheritDependencyManagement>true</inheritDependencyManagement>
|
|
<inheritPluginManagement>true</inheritPluginManagement>
|
|
</bom>
|
|
</boms>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<!--<goals> TODO: NPE
|
|
<goal>generate-bom</goal>
|
|
</goals>-->
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>1.3.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-no-snapshots</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireReleaseDeps>
|
|
<message>No Snapshots Allowed!</message>
|
|
</requireReleaseDeps>
|
|
</rules>
|
|
<fail>false</fail>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.3</version>
|
|
<configuration>
|
|
<includeDependencySources>${javadoc.include.deps}</includeDependencySources>
|
|
<dependencySourceIncludes>
|
|
<dependencySourceInclude>${javadoc.source.includes}</dependencySourceInclude>
|
|
</dependencySourceIncludes>
|
|
<excludePackageNames>${javadoc.package.excludes}</excludePackageNames>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<configuration>
|
|
<additionalparam>${javadoc.opts}</additionalparam>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>snapshot</id>
|
|
<properties>
|
|
<spring-cloud.version>Brixton.BUILD-SNAPSHOT</spring-cloud.version>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>doclint-java8-disable</id>
|
|
<activation>
|
|
<jdk>[1.8,)</jdk>
|
|
</activation>
|
|
<properties>
|
|
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/libs-milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|