Finchley -> Greenwich

This commit is contained in:
Dave Syer
2018-10-10 13:56:10 +01:00
parent db44081cc3
commit 2104d8453f
3 changed files with 39 additions and 4 deletions

View File

@@ -75,5 +75,40 @@
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
exec-maven-plugin
</artifactId>
<versionRange>
[1.6.0,)
</versionRange>
<goals>
<goal>exec</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
</project> </project>

View File

@@ -15,14 +15,14 @@
*/ */
package org.springframework.cloud.cli; package org.springframework.cloud.cli;
import static org.junit.Assert.assertTrue;
import java.io.File; import java.io.File;
import java.net.URI; import java.net.URI;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import static org.junit.Assert.assertTrue;
/** /**
* @author Dave Syer * @author Dave Syer
* *
@@ -34,7 +34,7 @@ public class SampleIntegrationTests {
@Test @Test
public void appSample() throws Exception { public void appSample() throws Exception {
String output = this.cli.run("app.groovy", "--verbose"); String output = this.cli.run("app.groovy");
URI scriptUri = new File("samples/app.groovy").toURI(); URI scriptUri = new File("samples/app.groovy").toURI();
assertTrue("Wrong output: " + output, assertTrue("Wrong output: " + output,
output.contains("Hello World! From " + scriptUri)); output.contains("Hello World! From " + scriptUri));

View File

@@ -28,7 +28,7 @@ import org.springframework.boot.cli.compiler.GenericBomAstTransformation;
@GroovyASTTransformation(phase = CompilePhase.CONVERSION) @GroovyASTTransformation(phase = CompilePhase.CONVERSION)
public class SpringCloudBomAstTransformation extends GenericBomAstTransformation { public class SpringCloudBomAstTransformation extends GenericBomAstTransformation {
private static final String SPRING_CLOUD_VERSION = "Finchley.BUILD-SNAPSHOT"; private static final String SPRING_CLOUD_VERSION = "Greenwich.BUILD-SNAPSHOT";
@Override @Override
protected String getBomModule() { protected String getBomModule() {