Format Groovy IT scripts Formatting only: the CONVERSION-phase AST of every file is unchanged. See https://github.com/apache/maven-invoker-plugin/issues/811.
diff --git a/src/it/mrm/repository/mscripting-8.jar/script.groovy b/src/it/mrm/repository/mscripting-8.jar/script.groovy index a77c5f8..11a07e5 100644 --- a/src/it/mrm/repository/mscripting-8.jar/script.groovy +++ b/src/it/mrm/repository/mscripting-8.jar/script.groovy
@@ -16,5 +16,5 @@ * specific language governing permissions and limitations * under the License. */ - + assert true \ No newline at end of file
diff --git a/src/it/projects/java-script/verify.groovy b/src/it/projects/java-script/verify.groovy index 0124f7a..8adbc98 100644 --- a/src/it/projects/java-script/verify.groovy +++ b/src/it/projects/java-script/verify.groovy
@@ -1,5 +1,5 @@ -import java.io.*; -import java.nio.file.*; +import java.io.* +import java.nio.file.* /* * Licensed to the Apache Software Foundation (ASF) under one @@ -20,7 +20,7 @@ * under the License. */ -File file = new File( basedir, "build.log" ); -if ( ! new String( Files.readAllBytes( file.toPath() ) ).contains( "87java-script" ) ) { - throw new IllegalArgumentException( "invalid output" ); +File file = new File(basedir, "build.log") +if (! new String(Files.readAllBytes(file.toPath())).contains("87java-script")) { + throw new IllegalArgumentException("invalid output") }