This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git

commit c987a989aecaffad9a072ffb04b6eee15ea4e5de
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Thu Nov 26 04:03:02 2026 +0000

    Format nested IT fixture scripts
    
    Formatting only: the CONVERSION-phase AST of every file is unchanged, so 
the runner fixtures behave as before. See 
https://github.com/apache/maven-invoker-plugin/issues/811.
---
 src/it/MINVOKER-289/src/it/project/prebuild.groovy |  6 ++---
 .../src/it/project/postbuild.groovy                |  8 +++---
 .../src/it/project/prebuild.groovy                 |  4 +--
 .../selector.groovy                                |  2 +-
 .../src/it/project/prebuild.groovy                 |  6 ++---
 src/it/fail-build/src/it/project/prebuild.groovy   |  6 ++---
 .../fail-postbuild/src/it/project/postbuild.groovy |  2 +-
 .../fail-postbuild/src/it/project/prebuild.groovy  |  6 ++---
 .../fail-prebuild/src/it/project/prebuild.groovy   |  8 +++---
 .../src/it/project/postbuild.groovy                |  6 ++---
 .../src/it/project/prebuild.groovy                 |  6 ++---
 .../src/it/minvoker-142/verify.groovy              |  4 +--
 .../src/it/minvoker-145/verify.groovy              |  2 +-
 .../src/it/minvoker-255/verify.groovy              |  2 +-
 .../invocation-project/src/it/project/setup.groovy | 21 ++++++----------
 .../src/it/failure-post/verify.groovy              |  2 +-
 .../invoker-report/src/it/failure-pre/setup.groovy |  2 +-
 .../src/it/project/postbuild.groovy                | 28 ++++++++++-----------
 .../local-repo-url/src/it/project/postbuild.groovy | 15 ++++++-----
 .../src/it/project/postbuild.1.groovy              |  2 +-
 .../src/it/project/postbuild.2.groovy              |  2 +-
 .../src/it/project/postbuild.groovy                |  2 +-
 .../src/it/project/prebuild.1.groovy               |  2 +-
 .../src/it/project/prebuild.2.groovy               |  2 +-
 .../src/it/project/prebuild.groovy                 |  2 +-
 .../src/it/project/postbuild.groovy                | 29 ++++++++++------------
 .../src/it/groovy/verify.groovy                    |  2 +-
 .../src/it/groovy/postbuild.groovy                 | 12 +++------
 .../src/it/groovy/prebuild.groovy                  | 12 +++------
 .../src/it/groovy/selector.groovy                  | 16 +++++-------
 .../src/it/groovy/postbuild.groovy                 | 17 +++++--------
 .../src/it/groovy/prebuild.groovy                  | 17 +++++--------
 .../src/it/groovy/postbuild.groovy                 |  8 +++---
 .../src/it/groovy/prebuild.groovy                  |  8 +++---
 src/it/script-context/src/it/groovy/setup.groovy   |  2 +-
 src/it/script-context/src/it/groovy/verify.groovy  |  2 +-
 src/it/script-errors/src/it/groovy/setup.groovy    |  6 ++---
 .../script-global-vars/src/it/groovy/setup.groovy  | 18 +++++---------
 .../script-global-vars/src/it/groovy/verify.groovy | 18 +++++---------
 .../src/it/groovy/postbuild.groovy                 |  8 +++---
 .../src/it/groovy/prebuild.groovy                  |  8 +++---
 .../script-streamLogs/src/it/groovy/setup.groovy   |  6 ++---
 .../src/it/project/verify.groovy                   |  2 +-
 .../src/it/script-ret-false/postbuild.groovy       | 10 ++++----
 .../src/it/script-ret-false/selector.groovy        |  4 +--
 .../src/it/script-ret-other/postbuild.groovy       | 10 ++++----
 .../src/it/script-ret-other/selector.groovy        |  4 +--
 .../src/it/script-ret-quiet/postbuild.groovy       | 10 ++++----
 .../src/it/script-ret-quiet/selector.groovy        |  2 +-
 .../src/it/script-ret-true/postbuild.groovy        | 12 ++++-----
 .../src/it/script-ret-true/selector.groovy         |  4 +--
 .../src/it/script-throw/postbuild.groovy           | 10 ++++----
 .../src/it/script-throw/selector.groovy            |  4 +--
 .../settings-merge/src/it/project/postbuild.groovy | 12 +++++----
 .../src/it/project/postbuild.groovy                |  2 +-
 .../src/it/minvoker-test/verify.groovy             |  7 +++---
 .../src/it/minvoker-test/verify.groovy             |  7 +++---
 .../src/it/minvoker-test/verify.groovy             |  4 +--
 58 files changed, 193 insertions(+), 248 deletions(-)

diff --git a/src/it/MINVOKER-289/src/it/project/prebuild.groovy 
b/src/it/MINVOKER-289/src/it/project/prebuild.groovy
index 3a93d11..9847860 100644
--- a/src/it/MINVOKER-289/src/it/project/prebuild.groovy
+++ b/src/it/MINVOKER-289/src/it/project/prebuild.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" );
-touchFile.createNewFile();
+File touchFile = new File(basedir, "touch.txt")
+touchFile.createNewFile()
diff --git 
a/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/postbuild.groovy
 
b/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/postbuild.groovy
index 2cde89b..42bd8fb 100644
--- 
a/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/postbuild.groovy
+++ 
b/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/postbuild.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-def buildLog = new File( basedir, "build.log" ).text
+def buildLog = new File(basedir, "build.log").text
 
-assert buildLog.contains( "maven 1 execute" )
-assert buildLog.contains( "maven 2 execute" )
-assert buildLog.contains( "[INFO] BUILD SUCCESS" )
+assert buildLog.contains("maven 1 execute")
+assert buildLog.contains("maven 2 execute")
+assert buildLog.contains("[INFO] BUILD SUCCESS")
diff --git 
a/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/prebuild.groovy
 
b/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/prebuild.groovy
index 0ac20bb..f124caf 100644
--- 
a/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/prebuild.groovy
+++ 
b/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/prebuild.groovy
@@ -18,5 +18,5 @@
  */
 
 // workaround for executable flags, eg during build from source-release.zip
-new File( basedir, "mvn1" ).setExecutable( true )
-new File( basedir, "mvn2" ).setExecutable( true )
+new File(basedir, "mvn1").setExecutable(true)
+new File(basedir, "mvn2").setExecutable(true)
diff --git a/src/it/MINVOKER-335-symlinks-in-source/selector.groovy 
b/src/it/MINVOKER-335-symlinks-in-source/selector.groovy
index 9afad9a..3c0dacf 100644
--- a/src/it/MINVOKER-335-symlinks-in-source/selector.groovy
+++ b/src/it/MINVOKER-335-symlinks-in-source/selector.groovy
@@ -22,7 +22,7 @@ import java.nio.file.Paths
 
 def projectPath = new File(basedir, 'src/it/clone-symlinks').toPath()
 
-def testDir = projectPath.resolve('testDir');
+def testDir = projectPath.resolve('testDir')
 def testFile = projectPath.resolve('test.txt')
 
 Files.createDirectory(testDir)
diff --git a/src/it/fail-build-with-verify/src/it/project/prebuild.groovy 
b/src/it/fail-build-with-verify/src/it/project/prebuild.groovy
index 3a93d11..9847860 100644
--- a/src/it/fail-build-with-verify/src/it/project/prebuild.groovy
+++ b/src/it/fail-build-with-verify/src/it/project/prebuild.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" );
-touchFile.createNewFile();
+File touchFile = new File(basedir, "touch.txt")
+touchFile.createNewFile()
diff --git a/src/it/fail-build/src/it/project/prebuild.groovy 
b/src/it/fail-build/src/it/project/prebuild.groovy
index 3a93d11..9847860 100644
--- a/src/it/fail-build/src/it/project/prebuild.groovy
+++ b/src/it/fail-build/src/it/project/prebuild.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" );
-touchFile.createNewFile();
+File touchFile = new File(basedir, "touch.txt")
+touchFile.createNewFile()
diff --git a/src/it/fail-postbuild/src/it/project/postbuild.groovy 
b/src/it/fail-postbuild/src/it/project/postbuild.groovy
index 9669e4b..1378d26 100644
--- a/src/it/fail-postbuild/src/it/project/postbuild.groovy
+++ b/src/it/fail-postbuild/src/it/project/postbuild.groovy
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-return false;
+return false
diff --git a/src/it/fail-postbuild/src/it/project/prebuild.groovy 
b/src/it/fail-postbuild/src/it/project/prebuild.groovy
index 3a93d11..9847860 100644
--- a/src/it/fail-postbuild/src/it/project/prebuild.groovy
+++ b/src/it/fail-postbuild/src/it/project/prebuild.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" );
-touchFile.createNewFile();
+File touchFile = new File(basedir, "touch.txt")
+touchFile.createNewFile()
diff --git a/src/it/fail-prebuild/src/it/project/prebuild.groovy 
b/src/it/fail-prebuild/src/it/project/prebuild.groovy
index 9c1a83b..444f8c0 100644
--- a/src/it/fail-prebuild/src/it/project/prebuild.groovy
+++ b/src/it/fail-prebuild/src/it/project/prebuild.groovy
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" );
-touchFile.createNewFile();
+File touchFile = new File(basedir, "touch.txt")
+touchFile.createNewFile()
 
-return false;
+return false
diff --git a/src/it/fail-run-postbuild/src/it/project/postbuild.groovy 
b/src/it/fail-run-postbuild/src/it/project/postbuild.groovy
index 3a93d11..9847860 100644
--- a/src/it/fail-run-postbuild/src/it/project/postbuild.groovy
+++ b/src/it/fail-run-postbuild/src/it/project/postbuild.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" );
-touchFile.createNewFile();
+File touchFile = new File(basedir, "touch.txt")
+touchFile.createNewFile()
diff --git a/src/it/integration-test-never-fails/src/it/project/prebuild.groovy 
b/src/it/integration-test-never-fails/src/it/project/prebuild.groovy
index 3a93d11..9847860 100644
--- a/src/it/integration-test-never-fails/src/it/project/prebuild.groovy
+++ b/src/it/integration-test-never-fails/src/it/project/prebuild.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" );
-touchFile.createNewFile();
+File touchFile = new File(basedir, "touch.txt")
+touchFile.createNewFile()
diff --git a/src/it/invocation-debug/src/it/minvoker-142/verify.groovy 
b/src/it/invocation-debug/src/it/minvoker-142/verify.groovy
index a658496..6c77df1 100644
--- a/src/it/invocation-debug/src/it/minvoker-142/verify.groovy
+++ b/src/it/invocation-debug/src/it/minvoker-142/verify.groovy
@@ -16,5 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File buildLog = new File( basedir, 'build.log' )
-assert buildLog.text.contains( '[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed' )
\ No newline at end of file
+File buildLog = new File(basedir, 'build.log')
+assert buildLog.text.contains('[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed')
\ No newline at end of file
diff --git 
a/src/it/invocation-environmentvariable/src/it/minvoker-145/verify.groovy 
b/src/it/invocation-environmentvariable/src/it/minvoker-145/verify.groovy
index 7cea0c1..d7ec7eb 100644
--- a/src/it/invocation-environmentvariable/src/it/minvoker-145/verify.groovy
+++ b/src/it/invocation-environmentvariable/src/it/minvoker-145/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-def buildLog = new File( basedir, 'build.log' )
+def buildLog = new File(basedir, 'build.log')
 
 // on this level we try find some substring,
 // if not found it will be logged and cause parent verify script to find 
required text
diff --git 
a/src/it/invocation-environmentvariable/src/it/minvoker-255/verify.groovy 
b/src/it/invocation-environmentvariable/src/it/minvoker-255/verify.groovy
index 7cea0c1..d7ec7eb 100644
--- a/src/it/invocation-environmentvariable/src/it/minvoker-255/verify.groovy
+++ b/src/it/invocation-environmentvariable/src/it/minvoker-255/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-def buildLog = new File( basedir, 'build.log' )
+def buildLog = new File(basedir, 'build.log')
 
 // on this level we try find some substring,
 // if not found it will be logged and cause parent verify script to find 
required text
diff --git a/src/it/invocation-project/src/it/project/setup.groovy 
b/src/it/invocation-project/src/it/project/setup.groovy
index 570ff48..4f45430 100644
--- a/src/it/invocation-project/src/it/project/setup.groovy
+++ b/src/it/invocation-project/src/it/project/setup.groovy
@@ -17,22 +17,15 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 String[] paths =
-[
-    "target",
-    "sub-1/target",
-    "sub-2/target",
-    "sub-3/target",
-];
+        ["target", "sub-1/target", "sub-2/target", "sub-3/target",]
 
-for ( String path : paths )
-{
-    File dir = new File( basedir, path);
-    System.out.println( "Creating directory: " + dir );
-    if ( !dir.mkdirs() )
-    {
-        throw new IOException( "Failed to create directory: " + dir );
+for (String path : paths) {
+    File dir = new File(basedir, path)
+    System.out.println("Creating directory: " + dir)
+    if (!dir.mkdirs()) {
+        throw new IOException("Failed to create directory: " + dir)
     }
 }
diff --git a/src/it/invoker-report/src/it/failure-post/verify.groovy 
b/src/it/invoker-report/src/it/failure-post/verify.groovy
index 4720926..05e60bc 100644
--- a/src/it/invoker-report/src/it/failure-post/verify.groovy
+++ b/src/it/invoker-report/src/it/failure-post/verify.groovy
@@ -17,5 +17,5 @@
  * under the License.
  */
 
-throw new IllegalStateException( "The post-build script failed as expected." );
+throw new IllegalStateException("The post-build script failed as expected.")
 
diff --git a/src/it/invoker-report/src/it/failure-pre/setup.groovy 
b/src/it/invoker-report/src/it/failure-pre/setup.groovy
index 363e426..72b457e 100644
--- a/src/it/invoker-report/src/it/failure-pre/setup.groovy
+++ b/src/it/invoker-report/src/it/failure-pre/setup.groovy
@@ -17,5 +17,5 @@
  * under the License.
  */
 
-throw new IllegalStateException( "The pre-build script failed as expected." );
+throw new IllegalStateException("The pre-build script failed as expected.")
 
diff --git a/src/it/local-repo-default/src/it/project/postbuild.groovy 
b/src/it/local-repo-default/src/it/project/postbuild.groovy
index 5be5e7b..2387276 100644
--- a/src/it/local-repo-default/src/it/project/postbuild.groovy
+++ b/src/it/local-repo-default/src/it/project/postbuild.groovy
@@ -17,23 +17,21 @@
  * under the License.
  */
 
-import java.io.*;
-import java.util.*;
-import java.util.regex.*;
+import java.io.*
+import java.util.*
+import java.util.regex.*
 
-try
-{
+try {
     // just dump our local repo path for verification by the parent build
-    File textFile = new File( basedir, "target/local-repo-path.txt" );
-    textFile.getParentFile().mkdirs();
-    Writer writer = new OutputStreamWriter( new FileOutputStream( textFile ), 
"UTF-8" );
-    writer.write( localRepositoryPath.getAbsolutePath() );
-    writer.close();
+    File textFile = new File(basedir, "target/local-repo-path.txt")
+    textFile.getParentFile().mkdirs()
+    Writer writer = new OutputStreamWriter(new FileOutputStream(textFile), 
"UTF-8")
+    writer.write(localRepositoryPath.getAbsolutePath())
+    writer.close()
 }
-catch( Throwable t )
-{
-    t.printStackTrace();
-    return false;
+catch(Throwable t) {
+    t.printStackTrace()
+    return false
 }
 
-return true;
+return true
diff --git a/src/it/local-repo-url/src/it/project/postbuild.groovy 
b/src/it/local-repo-url/src/it/project/postbuild.groovy
index a3406a7..aca52ee 100644
--- a/src/it/local-repo-url/src/it/project/postbuild.groovy
+++ b/src/it/local-repo-url/src/it/project/postbuild.groovy
@@ -20,20 +20,19 @@
 import groovy.xml.XmlSlurper
 
 // ensure script context contains localRepositoryPath
-assert new File( basedir, "../../../target/it-repo" ).canonicalFile.equals( 
localRepositoryPath )
+assert new File(basedir, 
"../../../target/it-repo").canonicalFile.equals(localRepositoryPath)
 
-File interpolatedSettings = new File( basedir, "../interpolated-settings.xml" )
+File interpolatedSettings = new File(basedir, "../interpolated-settings.xml")
 assert interpolatedSettings.isFile()
 
-def filename = new File( basedir, "../../../../../local-repo" ).canonicalPath
+def filename = new File(basedir, "../../../../../local-repo").canonicalPath
 // Convert URL, see 
org.apache.maven.plugins.invoker.AbstractInvokerMojo.toUrl(String)
-String url = "file://" + new File(  filename  ).toURI().path
-if ( url.endsWith( "/" ) )
-{
-    url = url.substring( 0, url.length() - 1 )
+String url = "file://" + new File(filename).toURI().path
+if (url.endsWith("/")) {
+    url = url.substring(0, url.length() - 1)
 }
 
-def settings = new XmlSlurper().parse( interpolatedSettings )
+def settings = new XmlSlurper().parse(interpolatedSettings)
 
 // ensure right settings and mirror are picked up
 def sandboxMirror = settings.mirrors.mirror[0]
diff --git a/src/it/multiple-pre-post-build/src/it/project/postbuild.1.groovy 
b/src/it/multiple-pre-post-build/src/it/project/postbuild.1.groovy
index 3851437..e2d41cb 100644
--- a/src/it/multiple-pre-post-build/src/it/project/postbuild.1.groovy
+++ b/src/it/multiple-pre-post-build/src/it/project/postbuild.1.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-new File( basedir, 'postbuild.1.txt' ).text = 'postbuild.1'
+new File(basedir, 'postbuild.1.txt').text = 'postbuild.1'
 
 true
diff --git a/src/it/multiple-pre-post-build/src/it/project/postbuild.2.groovy 
b/src/it/multiple-pre-post-build/src/it/project/postbuild.2.groovy
index 7a631f5..fda1ace 100644
--- a/src/it/multiple-pre-post-build/src/it/project/postbuild.2.groovy
+++ b/src/it/multiple-pre-post-build/src/it/project/postbuild.2.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-new File( basedir, 'postbuild.2.txt' ).text = 'postbuild.2'
+new File(basedir, 'postbuild.2.txt').text = 'postbuild.2'
 
 true
diff --git a/src/it/multiple-pre-post-build/src/it/project/postbuild.groovy 
b/src/it/multiple-pre-post-build/src/it/project/postbuild.groovy
index 7129f3f..f4b9f7d 100644
--- a/src/it/multiple-pre-post-build/src/it/project/postbuild.groovy
+++ b/src/it/multiple-pre-post-build/src/it/project/postbuild.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-new File( basedir, 'postbuild.txt' ).text = 'postbuild'
+new File(basedir, 'postbuild.txt').text = 'postbuild'
 
 true
diff --git a/src/it/multiple-pre-post-build/src/it/project/prebuild.1.groovy 
b/src/it/multiple-pre-post-build/src/it/project/prebuild.1.groovy
index 92dc6c0..bc56c7e 100644
--- a/src/it/multiple-pre-post-build/src/it/project/prebuild.1.groovy
+++ b/src/it/multiple-pre-post-build/src/it/project/prebuild.1.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-new File( basedir, 'prebuild.1.txt' ).text = 'prebuild.1'
+new File(basedir, 'prebuild.1.txt').text = 'prebuild.1'
 
 def userProperties = context.get('userProperties')
 userProperties.put('prebuild', '1')
diff --git a/src/it/multiple-pre-post-build/src/it/project/prebuild.2.groovy 
b/src/it/multiple-pre-post-build/src/it/project/prebuild.2.groovy
index 5b98789..7bf2802 100644
--- a/src/it/multiple-pre-post-build/src/it/project/prebuild.2.groovy
+++ b/src/it/multiple-pre-post-build/src/it/project/prebuild.2.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-new File( basedir, 'prebuild.2.txt' ).text = 'prebuild.2'
+new File(basedir, 'prebuild.2.txt').text = 'prebuild.2'
 
 def userProperties = context.get('userProperties')
 userProperties.put('prebuild', '2')
diff --git a/src/it/multiple-pre-post-build/src/it/project/prebuild.groovy 
b/src/it/multiple-pre-post-build/src/it/project/prebuild.groovy
index b075d37..43cc36d 100644
--- a/src/it/multiple-pre-post-build/src/it/project/prebuild.groovy
+++ b/src/it/multiple-pre-post-build/src/it/project/prebuild.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-new File( basedir, 'prebuild.txt' ).text = 'prebuild'
+new File(basedir, 'prebuild.txt').text = 'prebuild'
 
 true
diff --git 
a/src/it/postbuild-executed-only-once/src/it/project/postbuild.groovy 
b/src/it/postbuild-executed-only-once/src/it/project/postbuild.groovy
index 5cbc03e..6070d27 100644
--- a/src/it/postbuild-executed-only-once/src/it/project/postbuild.groovy
+++ b/src/it/postbuild-executed-only-once/src/it/project/postbuild.groovy
@@ -17,24 +17,21 @@
  * under the License.
  */
 
-import java.io.*;
-import java.util.*;
-import java.util.regex.*;
+import java.io.*
+import java.util.*
+import java.util.regex.*
 
-try
-{
-    File touchFile = new File( basedir, "target/touch.txt" );
-    System.out.println( "Checking for existence of touch file: " + touchFile );
-    if ( !touchFile.exists() )
-    {
-        System.out.println( "touch.txt not exists FAILED!" );
-        return false;
+try {
+    File touchFile = new File(basedir, "target/touch.txt")
+    System.out.println("Checking for existence of touch file: " + touchFile)
+    if (!touchFile.exists()) {
+        System.out.println("touch.txt not exists FAILED!")
+        return false
     }
 }
-catch( Throwable t )
-{
-    t.printStackTrace();
-    return false;
+catch(Throwable t) {
+    t.printStackTrace()
+    return false
 }
 
-return true;
+return true
diff --git a/src/it/script-accessibility/src/it/groovy/verify.groovy 
b/src/it/script-accessibility/src/it/groovy/verify.groovy
index 9cfcac9..6c74f46 100644
--- a/src/it/script-accessibility/src/it/groovy/verify.groovy
+++ b/src/it/script-accessibility/src/it/groovy/verify.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-import org.MyClass;
+import org.MyClass
 
 println MyClass.PUBLIC
 println MyClass.PROTECTED
diff --git a/src/it/script-additional-vars/src/it/groovy/postbuild.groovy 
b/src/it/script-additional-vars/src/it/groovy/postbuild.groovy
index cdef4bc..61ae095 100644
--- a/src/it/script-additional-vars/src/it/groovy/postbuild.groovy
+++ b/src/it/script-additional-vars/src/it/groovy/postbuild.groovy
@@ -20,24 +20,20 @@
 import java.io.*
 import java.util.*
 
-try
-{
+try {
     println hello
-    if ( !hello.equals( "world" ) )
-    {
+    if (!hello.equals("world")) {
         println "Additional script variable declared in mojo configuration not 
defined: hello"
         return false
     }
 
     println version
-    if ( !version.equals( "1.0-SNAPSHOT" ) )
-    {
+    if (!version.equals("1.0-SNAPSHOT")) {
         println "Additional script variable declared in mojo configuration not 
defined: version"
         return false
     }
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-additional-vars/src/it/groovy/prebuild.groovy 
b/src/it/script-additional-vars/src/it/groovy/prebuild.groovy
index cdef4bc..61ae095 100644
--- a/src/it/script-additional-vars/src/it/groovy/prebuild.groovy
+++ b/src/it/script-additional-vars/src/it/groovy/prebuild.groovy
@@ -20,24 +20,20 @@
 import java.io.*
 import java.util.*
 
-try
-{
+try {
     println hello
-    if ( !hello.equals( "world" ) )
-    {
+    if (!hello.equals("world")) {
         println "Additional script variable declared in mojo configuration not 
defined: hello"
         return false
     }
 
     println version
-    if ( !version.equals( "1.0-SNAPSHOT" ) )
-    {
+    if (!version.equals("1.0-SNAPSHOT")) {
         println "Additional script variable declared in mojo configuration not 
defined: version"
         return false
     }
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-additional-vars/src/it/groovy/selector.groovy 
b/src/it/script-additional-vars/src/it/groovy/selector.groovy
index 5ae43b3..794f818 100644
--- a/src/it/script-additional-vars/src/it/groovy/selector.groovy
+++ b/src/it/script-additional-vars/src/it/groovy/selector.groovy
@@ -20,22 +20,18 @@
 import java.io.*
 import java.util.*
 
-try
-{
+try {
     println hello
-    if ( !hello.equals( "world" ) )
-    {
-        throw new Exception( "Additional script variable declared in mojo 
configuration not defined: hello" )
+    if (!hello.equals("world")) {
+        throw new Exception("Additional script variable declared in mojo 
configuration not defined: hello")
     }
 
     println version
-    if ( !version.equals( "1.0-SNAPSHOT" ) )
-    {
-        throw new Exception( "Additional script variable declared in mojo 
configuration not defined: version" )
+    if (!version.equals("1.0-SNAPSHOT")) {
+        throw new Exception("Additional script variable declared in mojo 
configuration not defined: version")
     }
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     throw t
 }
diff --git a/src/it/script-class-loading/src/it/groovy/postbuild.groovy 
b/src/it/script-class-loading/src/it/groovy/postbuild.groovy
index b25d789..6ddf17f 100644
--- a/src/it/script-class-loading/src/it/groovy/postbuild.groovy
+++ b/src/it/script-class-loading/src/it/groovy/postbuild.groovy
@@ -24,28 +24,23 @@ import java.util.regex.*
 
 import org.codehaus.plexus.util.*
 
-try
-{
+try {
     println "Invoking class from project's test class path"
     println org.MyUtils.getNothing()
 
     println "Trying to access method which is unavaible in old plexus-utils"
-    try
-    {
-        Class[] types = [ File.class, File.class ];
-        println FileUtils.class.getMethod( "copyFileIfModified", types )
+    try {
+        Class[] types = [File.class, File.class]
+        println FileUtils.class.getMethod("copyFileIfModified", types)
         println "FAILED!"
         return false
     }
-    catch( NoSuchMethodException e )
-    {
+    catch(NoSuchMethodException e) {
         // expected
         e.printStackTrace()
     }
-      
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-class-loading/src/it/groovy/prebuild.groovy 
b/src/it/script-class-loading/src/it/groovy/prebuild.groovy
index b25d789..6ddf17f 100644
--- a/src/it/script-class-loading/src/it/groovy/prebuild.groovy
+++ b/src/it/script-class-loading/src/it/groovy/prebuild.groovy
@@ -24,28 +24,23 @@ import java.util.regex.*
 
 import org.codehaus.plexus.util.*
 
-try
-{
+try {
     println "Invoking class from project's test class path"
     println org.MyUtils.getNothing()
 
     println "Trying to access method which is unavaible in old plexus-utils"
-    try
-    {
-        Class[] types = [ File.class, File.class ];
-        println FileUtils.class.getMethod( "copyFileIfModified", types )
+    try {
+        Class[] types = [File.class, File.class]
+        println FileUtils.class.getMethod("copyFileIfModified", types)
         println "FAILED!"
         return false
     }
-    catch( NoSuchMethodException e )
-    {
+    catch(NoSuchMethodException e) {
         // expected
         e.printStackTrace()
     }
-      
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy 
b/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy
index d9fc6d8..584667a 100644
--- a/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy
+++ b/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy
@@ -22,16 +22,14 @@ import java.lang.reflect.*
 import java.util.*
 import java.util.regex.*
 
-try
-{
+try {
     // create touch file so that the parent build can verify whether this 
script was called
-    File touchFile = new File( basedir, "target/created-by-postbuild.groovy" )
+    File touchFile = new File(basedir, "target/created-by-postbuild.groovy")
     println "Creating touch file: " + touchFile
     touchFile.getParentFile().mkdirs()
     touchFile.createNewFile()
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy 
b/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy
index 6777377..18c3f8c 100644
--- a/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy
+++ b/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy
@@ -22,16 +22,14 @@ import java.lang.reflect.*
 import java.util.*
 import java.util.regex.*
 
-try
-{
+try {
     // create touch file so that the parent build can verify whether this 
script was called
-    File touchFile = new File( basedir, "target/created-by-prebuild.groovy" )
+    File touchFile = new File(basedir, "target/created-by-prebuild.groovy")
     println "Creating touch file: " + touchFile
     touchFile.getParentFile().mkdirs()
     touchFile.createNewFile()
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-context/src/it/groovy/setup.groovy 
b/src/it/script-context/src/it/groovy/setup.groovy
index 9456749..dac9ed9 100644
--- a/src/it/script-context/src/it/groovy/setup.groovy
+++ b/src/it/script-context/src/it/groovy/setup.groovy
@@ -21,6 +21,6 @@ import java.io.*
 import java.util.*
 import java.util.regex.*
 
-context.put( "touchFile", new File( basedir, "touch.txt" ) )
+context.put("touchFile", new File(basedir, "touch.txt"))
 
 println context
diff --git a/src/it/script-context/src/it/groovy/verify.groovy 
b/src/it/script-context/src/it/groovy/verify.groovy
index d11c416..311b3d8 100644
--- a/src/it/script-context/src/it/groovy/verify.groovy
+++ b/src/it/script-context/src/it/groovy/verify.groovy
@@ -23,7 +23,7 @@ import java.util.regex.*
 
 println context
 
-File touchFile = context.get( "touchFile" )
+File touchFile = context.get("touchFile")
 touchFile.createNewFile()
 
 return true
diff --git a/src/it/script-errors/src/it/groovy/setup.groovy 
b/src/it/script-errors/src/it/groovy/setup.groovy
index 7ab7535..e40c33d 100644
--- a/src/it/script-errors/src/it/groovy/setup.groovy
+++ b/src/it/script-errors/src/it/groovy/setup.groovy
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" )
+File touchFile = new File(basedir, "touch.txt")
 touchFile.createNewFile()
 
-if ( true ) throw new AssertionError( "This should not cause the main build to 
fail" )
+if (true) throw new AssertionError("This should not cause the main build to 
fail")
 
diff --git a/src/it/script-global-vars/src/it/groovy/setup.groovy 
b/src/it/script-global-vars/src/it/groovy/setup.groovy
index d7c3171..f8f5590 100644
--- a/src/it/script-global-vars/src/it/groovy/setup.groovy
+++ b/src/it/script-global-vars/src/it/groovy/setup.groovy
@@ -21,36 +21,30 @@ import java.io.*
 import java.util.*
 import java.util.regex.*
 
-try
-{
+try {
     println basedir
-    if ( !( basedir instanceof File ) )
-    {
+    if (!(basedir instanceof File)) {
         println "Global script variable not defined: basedir"
         return false
     }
 
     println localRepositoryPath
-    if ( !( localRepositoryPath instanceof File ) )
-    {
+    if (!(localRepositoryPath instanceof File)) {
         println "Global script variable not defined: localRepositoryPath"
         return false
     }
 
     println mavenVersion
-    if ( !mavenVersion )
-    {
+    if (!mavenVersion) {
         println "Global script variable not defined: mavenVersion"
         return false
     }
-    if ( !mavenVersion?.trim() )
-    {
+    if (!mavenVersion?.trim()) {
         println "Global script variable empty: mavenVersion"
         return false
     }
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-global-vars/src/it/groovy/verify.groovy 
b/src/it/script-global-vars/src/it/groovy/verify.groovy
index d7c3171..f8f5590 100644
--- a/src/it/script-global-vars/src/it/groovy/verify.groovy
+++ b/src/it/script-global-vars/src/it/groovy/verify.groovy
@@ -21,36 +21,30 @@ import java.io.*
 import java.util.*
 import java.util.regex.*
 
-try
-{
+try {
     println basedir
-    if ( !( basedir instanceof File ) )
-    {
+    if (!(basedir instanceof File)) {
         println "Global script variable not defined: basedir"
         return false
     }
 
     println localRepositoryPath
-    if ( !( localRepositoryPath instanceof File ) )
-    {
+    if (!(localRepositoryPath instanceof File)) {
         println "Global script variable not defined: localRepositoryPath"
         return false
     }
 
     println mavenVersion
-    if ( !mavenVersion )
-    {
+    if (!mavenVersion) {
         println "Global script variable not defined: mavenVersion"
         return false
     }
-    if ( !mavenVersion?.trim() )
-    {
+    if (!mavenVersion?.trim()) {
         println "Global script variable empty: mavenVersion"
         return false
     }
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy 
b/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy
index d4e1c69..a50a859 100644
--- a/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy
+++ b/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy
@@ -22,16 +22,14 @@ import java.lang.reflect.*
 import java.util.*
 import java.util.regex.*
 
-try
-{
+try {
     // create touch file so that the parent build can verify whether this 
script was called
-    File touchFile = new File( basedir, "target/postbuild.groovy" )
+    File touchFile = new File(basedir, "target/postbuild.groovy")
     println "Creating touch file: " + touchFile
     touchFile.getParentFile().mkdirs()
     touchFile.createNewFile()
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy 
b/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy
index 5b3ba9c..0376671 100644
--- a/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy
+++ b/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy
@@ -22,16 +22,14 @@ import java.lang.reflect.*
 import java.util.*
 import java.util.regex.*
 
-try
-{
+try {
     // create touch file so that the parent build can verify whether this 
script was called
-    File touchFile = new File( basedir, "target/prebuild.groovy" )
+    File touchFile = new File(basedir, "target/prebuild.groovy")
     println "Creating touch file: " + touchFile
     touchFile.getParentFile().mkdirs()
     touchFile.createNewFile()
 }
-catch( Throwable t )
-{
+catch(Throwable t) {
     t.printStackTrace()
     return false
 }
diff --git a/src/it/script-streamLogs/src/it/groovy/setup.groovy 
b/src/it/script-streamLogs/src/it/groovy/setup.groovy
index fc18103..28a87de 100644
--- a/src/it/script-streamLogs/src/it/groovy/setup.groovy
+++ b/src/it/script-streamLogs/src/it/groovy/setup.groovy
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // marker for parent build that this sub build was indeed run
-File touchFile = new File( basedir, "touch.txt" )
+File touchFile = new File(basedir, "touch.txt")
 touchFile.createNewFile()
 
 println("Output from groovy script")
 
-def pom = new File( basedir, "pom.xml" ).text
+def pom = new File(basedir, "pom.xml").text
 assert pom.contains("<modelVersion>9.9.9</modelVersion>")
 
diff --git a/src/it/script-target-bytecode/src/it/project/verify.groovy 
b/src/it/script-target-bytecode/src/it/project/verify.groovy
index 429d5f7..0017c3b 100644
--- a/src/it/script-target-bytecode/src/it/project/verify.groovy
+++ b/src/it/script-target-bytecode/src/it/project/verify.groovy
@@ -21,6 +21,6 @@
 // extending java.lang.Object below that, so the superclass shows the level 
this script was compiled to
 record Probe(int value) {}
 
-new File( basedir, "record-superclass.txt" ).text = Probe.superclass.name
+new File(basedir, "record-superclass.txt").text = Probe.superclass.name
 
 return true
diff --git a/src/it/selector-scripts/src/it/script-ret-false/postbuild.groovy 
b/src/it/selector-scripts/src/it/script-ret-false/postbuild.groovy
index d2e394e..a3647aa 100644
--- a/src/it/selector-scripts/src/it/script-ret-false/postbuild.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-false/postbuild.groovy
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // create touch file so that the parent build can verify whether this build 
was executed
-File touchFile = new File( basedir, "target/touch.txt" );
-System.out.println( "Creating touch file: " + touchFile );
-touchFile.getParentFile().mkdirs();
-touchFile.createNewFile();
+File touchFile = new File(basedir, "target/touch.txt")
+System.out.println("Creating touch file: " + touchFile)
+touchFile.getParentFile().mkdirs()
+touchFile.createNewFile()
diff --git a/src/it/selector-scripts/src/it/script-ret-false/selector.groovy 
b/src/it/selector-scripts/src/it/script-ret-false/selector.groovy
index 6244a51..1abd01a 100644
--- a/src/it/selector-scripts/src/it/script-ret-false/selector.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-false/selector.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-return false;
+return false
diff --git a/src/it/selector-scripts/src/it/script-ret-other/postbuild.groovy 
b/src/it/selector-scripts/src/it/script-ret-other/postbuild.groovy
index d2e394e..a3647aa 100644
--- a/src/it/selector-scripts/src/it/script-ret-other/postbuild.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-other/postbuild.groovy
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // create touch file so that the parent build can verify whether this build 
was executed
-File touchFile = new File( basedir, "target/touch.txt" );
-System.out.println( "Creating touch file: " + touchFile );
-touchFile.getParentFile().mkdirs();
-touchFile.createNewFile();
+File touchFile = new File(basedir, "target/touch.txt")
+System.out.println("Creating touch file: " + touchFile)
+touchFile.getParentFile().mkdirs()
+touchFile.createNewFile()
diff --git a/src/it/selector-scripts/src/it/script-ret-other/selector.groovy 
b/src/it/selector-scripts/src/it/script-ret-other/selector.groovy
index 7c7b487..e865fd0 100644
--- a/src/it/selector-scripts/src/it/script-ret-other/selector.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-other/selector.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-return "Some thing";
+return "Some thing"
diff --git a/src/it/selector-scripts/src/it/script-ret-quiet/postbuild.groovy 
b/src/it/selector-scripts/src/it/script-ret-quiet/postbuild.groovy
index d2e394e..a3647aa 100644
--- a/src/it/selector-scripts/src/it/script-ret-quiet/postbuild.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-quiet/postbuild.groovy
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // create touch file so that the parent build can verify whether this build 
was executed
-File touchFile = new File( basedir, "target/touch.txt" );
-System.out.println( "Creating touch file: " + touchFile );
-touchFile.getParentFile().mkdirs();
-touchFile.createNewFile();
+File touchFile = new File(basedir, "target/touch.txt")
+System.out.println("Creating touch file: " + touchFile)
+touchFile.getParentFile().mkdirs()
+touchFile.createNewFile()
diff --git a/src/it/selector-scripts/src/it/script-ret-quiet/selector.groovy 
b/src/it/selector-scripts/src/it/script-ret-quiet/selector.groovy
index d239cea..9a2d629 100644
--- a/src/it/selector-scripts/src/it/script-ret-quiet/selector.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-quiet/selector.groovy
@@ -17,5 +17,5 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
diff --git a/src/it/selector-scripts/src/it/script-ret-true/postbuild.groovy 
b/src/it/selector-scripts/src/it/script-ret-true/postbuild.groovy
index feffcae..abe56d6 100644
--- a/src/it/selector-scripts/src/it/script-ret-true/postbuild.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-true/postbuild.groovy
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // create touch file so that the parent build can verify whether this build 
was executed
-File touchFile = new File( basedir, "target/touch.txt" );
-System.out.println( "Creating touch file: " + touchFile );
-touchFile.getParentFile().mkdirs();
-touchFile.createNewFile();
-return true;
+File touchFile = new File(basedir, "target/touch.txt")
+System.out.println("Creating touch file: " + touchFile)
+touchFile.getParentFile().mkdirs()
+touchFile.createNewFile()
+return true
diff --git a/src/it/selector-scripts/src/it/script-ret-true/selector.groovy 
b/src/it/selector-scripts/src/it/script-ret-true/selector.groovy
index 5c1254a..6141ed6 100644
--- a/src/it/selector-scripts/src/it/script-ret-true/selector.groovy
+++ b/src/it/selector-scripts/src/it/script-ret-true/selector.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-return true;
+return true
diff --git a/src/it/selector-scripts/src/it/script-throw/postbuild.groovy 
b/src/it/selector-scripts/src/it/script-throw/postbuild.groovy
index d2e394e..a3647aa 100644
--- a/src/it/selector-scripts/src/it/script-throw/postbuild.groovy
+++ b/src/it/selector-scripts/src/it/script-throw/postbuild.groovy
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // create touch file so that the parent build can verify whether this build 
was executed
-File touchFile = new File( basedir, "target/touch.txt" );
-System.out.println( "Creating touch file: " + touchFile );
-touchFile.getParentFile().mkdirs();
-touchFile.createNewFile();
+File touchFile = new File(basedir, "target/touch.txt")
+System.out.println("Creating touch file: " + touchFile)
+touchFile.getParentFile().mkdirs()
+touchFile.createNewFile()
diff --git a/src/it/selector-scripts/src/it/script-throw/selector.groovy 
b/src/it/selector-scripts/src/it/script-throw/selector.groovy
index 9ee8f9f..00987a7 100644
--- a/src/it/selector-scripts/src/it/script-throw/selector.groovy
+++ b/src/it/selector-scripts/src/it/script-throw/selector.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-throw new NullPointerException( "Bite me" );
+throw new NullPointerException("Bite me")
diff --git a/src/it/settings-merge/src/it/project/postbuild.groovy 
b/src/it/settings-merge/src/it/project/postbuild.groovy
index 065f64d..17d1ad9 100644
--- a/src/it/settings-merge/src/it/project/postbuild.groovy
+++ b/src/it/settings-merge/src/it/project/postbuild.groovy
@@ -19,11 +19,13 @@
 
 import groovy.xml.XmlSlurper
 
-File effectiveSettings = new File( basedir, "effective-settings.xml" )
+File effectiveSettings = new File(basedir, "effective-settings.xml")
 assert effectiveSettings.isFile()
 
-def settings = new XmlSlurper().parse( effectiveSettings )
-def server = settings.servers.server.find{ 
it.id.equals('dummy-it-settings-merge') }
+def settings = new XmlSlurper().parse(effectiveSettings)
+def server = settings.servers.server.find{
+    it.id.equals('dummy-it-settings-merge')
+}
 
-if( !server.password.equals('overridden') )
-  throw new org.apache.maven.plugin.MojoExecutionException("Incorrect server 
password - specified settings.xml not merged/dominant " + server.password)
+if(!server.password.equals('overridden'))
+    throw new org.apache.maven.plugin.MojoExecutionException("Incorrect server 
password - specified settings.xml not merged/dominant " + server.password)
diff --git a/src/it/settings-override/src/it/project/postbuild.groovy 
b/src/it/settings-override/src/it/project/postbuild.groovy
index 620dd14..8270856 100644
--- a/src/it/settings-override/src/it/project/postbuild.groovy
+++ b/src/it/settings-override/src/it/project/postbuild.groovy
@@ -17,5 +17,5 @@
  * under the License.
  */
 
-File interpolatedCustomSettings = new File( basedir, 
"../interpolated-settings-override.xml" )
+File interpolatedCustomSettings = new File(basedir, 
"../interpolated-settings-override.xml")
 assert interpolatedCustomSettings.isFile()
diff --git 
a/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy 
b/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy
index 0730979..076585a 100644
--- a/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy
+++ b/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy
@@ -16,11 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File buildLog = new File( basedir, 'build.log' )
+File buildLog = new File(basedir, 'build.log')
 
 // if one of criteria matches
-if( buildLog.exists() )
-{
-  assert buildLog.text.contains( '[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed' )
+if(buildLog.exists()) {
+    assert buildLog.text.contains('[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed')
 }
 
diff --git 
a/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy 
b/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy
index 0730979..076585a 100644
--- a/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy
+++ b/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy
@@ -16,11 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File buildLog = new File( basedir, 'build.log' )
+File buildLog = new File(basedir, 'build.log')
 
 // if one of criteria matches
-if( buildLog.exists() )
-{
-  assert buildLog.text.contains( '[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed' )
+if(buildLog.exists()) {
+    assert buildLog.text.contains('[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed')
 }
 
diff --git 
a/src/it/special-characters-should-work/src/it/minvoker-test/verify.groovy 
b/src/it/special-characters-should-work/src/it/minvoker-test/verify.groovy
index a658496..6c77df1 100644
--- a/src/it/special-characters-should-work/src/it/minvoker-test/verify.groovy
+++ b/src/it/special-characters-should-work/src/it/minvoker-test/verify.groovy
@@ -16,5 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File buildLog = new File( basedir, 'build.log' )
-assert buildLog.text.contains( '[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed' )
\ No newline at end of file
+File buildLog = new File(basedir, 'build.log')
+assert buildLog.text.contains('[INFO] Rule 0: 
org.apache.maven.enforcer.rules.AlwaysPass passed')
\ No newline at end of file

Reply via email to