From 618a713a60f4c18451688c57df2eac25374e0ec8 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Mon, 19 Sep 2016 15:03:56 -0600 Subject: [PATCH] add config props for maven --- .../cloud/launcher/deployer/DeployerConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-cloud-launcher/spring-cloud-launcher-deployer/src/main/java/org/springframework/cloud/launcher/deployer/DeployerConfiguration.java b/spring-cloud-launcher/spring-cloud-launcher-deployer/src/main/java/org/springframework/cloud/launcher/deployer/DeployerConfiguration.java index f3c72cb..593fe4e 100644 --- a/spring-cloud-launcher/spring-cloud-launcher-deployer/src/main/java/org/springframework/cloud/launcher/deployer/DeployerConfiguration.java +++ b/spring-cloud-launcher/spring-cloud-launcher-deployer/src/main/java/org/springframework/cloud/launcher/deployer/DeployerConfiguration.java @@ -19,6 +19,7 @@ package org.springframework.cloud.launcher.deployer; import java.util.HashMap; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.cloud.deployer.resource.maven.MavenProperties; import org.springframework.cloud.deployer.resource.maven.MavenResourceLoader; @@ -53,6 +54,7 @@ public class DeployerConfiguration { return new LocalAppDeployer(localDeployerProperties()); } + @ConfigurationProperties(prefix = "spring.cloud.maven") @Bean public MavenProperties mavenProperties() { return new MavenProperties(); //TODO: exposed as config properties?