Fix typo error. Remove dependency about spring-cloud-kubernetes-core as the starter will import it. Add enricher configuration to get rid of the 24 chars limit

This commit is contained in:
Charles Moulliard
2017-05-02 16:44:53 +02:00
parent 4e85b902ad
commit 36c53cb51b

View File

@@ -11,8 +11,8 @@
<artifactId>spring-cloud-kubernetes-example-reload</artifactId>
<name>Spring Cloud Kubernetes :: Examples :: Reload</name>
<description>Example demostrating how to use the configuration reload feature.</description>
<name>Spring Cloud Kubernetes :: Examples :: Reload ConfigMap</name>
<description>Example demonstrating how to use the configuration reload feature.</description>
<dependencyManagement>
<dependencies>
@@ -31,16 +31,14 @@
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
@@ -58,6 +56,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-kubernetes-config</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
@@ -105,6 +104,18 @@
</goals>
</execution>
</executions>
<configuration>
<enricher>
<config>
<fmp-controller>
<name>spring-cloud-reload</name>
</fmp-controller>
<fmp-service>
<name>spring-cloud-reload</name>
</fmp-service>
</config>
</enricher>
</configuration>
</plugin>
</plugins>
</build>