116 lines
2.8 KiB
XML
116 lines
2.8 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">
|
|
<parent>
|
|
<artifactId>spring-cloud-kubernetes-examples</artifactId>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>kubernetes-loadbalancer-example</artifactId>
|
|
<name>Spring Cloud LoadBalancer Example</name>
|
|
<packaging>pom</packaging>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>kubernetes</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>fabric8-maven-plugin</artifactId>
|
|
<version>${fabric8.maven.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>fmp</id>
|
|
<goals>
|
|
<goal>resource</goal>
|
|
<goal>build</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<enricher>
|
|
<config>
|
|
<fmp-service>
|
|
<type>NodePort</type>
|
|
</fmp-service>
|
|
</config>
|
|
</enricher>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>fabric8-maven-plugin</artifactId>
|
|
<version>${fabric8.maven.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>fmp</id>
|
|
<goals>
|
|
<goal>resource</goal>
|
|
<goal>helm</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>integration</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>fabric8-maven-plugin</artifactId>
|
|
<version>${fabric8.maven.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>fmp</id>
|
|
<goals>
|
|
<goal>resource</goal>
|
|
<goal>build</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>run-integration-tests</id>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<skipTests>false</skipTests>
|
|
<skipITs>false</skipITs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<modules>
|
|
<module>name-service</module>
|
|
<module>greeting-service</module>
|
|
</modules>
|
|
|
|
</project>
|