From ef17ff8d24db1d62a8e2c6d89875ef534975bf32 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 8 Oct 2013 17:50:55 -0400 Subject: [PATCH] Adapt device change to new springcli.properties --- .../SpringMobileCompilerAutoConfiguration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java index fef8cf9606..e4c8f02089 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java @@ -31,8 +31,9 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; /** * {@link CompilerAutoConfiguration} for Spring Mobile. - * + * * @author Roy Clarkson + * @author Dave Syer */ public class SpringMobileCompilerAutoConfiguration extends CompilerAutoConfiguration { @@ -44,8 +45,7 @@ public class SpringMobileCompilerAutoConfiguration extends CompilerAutoConfigura @Override public void applyDependencies(DependencyCustomizer dependencies) throws CompilationFailedException { - dependencies.add("org.springframework.mobile", "spring-mobile-device", - dependencies.getProperty("spring-mobile.version")); + dependencies.add("spring-mobile-device"); } @Override