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

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


The following commit(s) were added to refs/heads/maven-resources-plugin-4.x by 
this push:
     new 5e18eb1  Format Groovy IT scripts
5e18eb1 is described below

commit 5e18eb1a0714f98802db863489ef0a0e35e188c0
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 20:57:27 2026 +0000

    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.
---
 src/it/MRESOURCES-104/verify.groovy        |  12 +-
 src/it/MRESOURCES-106/verify.groovy        |  69 +++++-----
 src/it/MRESOURCES-110/verify.groovy        |  10 +-
 src/it/MRESOURCES-131/verify.groovy        |   6 +-
 src/it/MRESOURCES-162-fail/verify.groovy   |   6 +-
 src/it/MRESOURCES-162-pass/verify.groovy   |   8 +-
 src/it/MRESOURCES-166/verify.groovy        |  10 +-
 src/it/MRESOURCES-171/verify.groovy        |  12 +-
 src/it/MRESOURCES-20/verify.groovy         |  47 ++++---
 src/it/MRESOURCES-231/verify.groovy        |   8 +-
 src/it/MRESOURCES-232/verify.groovy        |  12 +-
 src/it/MRESOURCES-257/verify.groovy        |  10 +-
 src/it/MRESOURCES-286/verify.groovy        |   4 +-
 src/it/MRESOURCES-301/verify.groovy        |  36 +++---
 src/it/MRESOURCES-521/verify.groovy        |  36 +++---
 src/it/MRESOURCES-77/verify.groovy         | 128 +++++++++----------
 src/it/MRESOURCES-78/verify.groovy         |  14 +--
 src/it/MRESOURCES-99/verify.groovy         | 139 ++++++++++----------
 src/it/binaries-filtering/verify.groovy    |  94 ++++++--------
 src/it/copy-resources-it/verify.groovy     |  56 ++++-----
 src/it/custom-delimiter/verify.groovy      | 119 ++++++++----------
 src/it/escapeInterpolation/verify.groovy   | 196 +++++++++++++----------------
 src/it/filter-filenames/verify.groovy      |  22 ++--
 src/it/filter-test-resources/verify.groovy |  93 ++++++--------
 src/it/filter/verify.groovy                | 119 ++++++++----------
 src/it/include-git-ignore/setup.groovy     |  90 +++++++------
 src/it/include-git-ignore/verify.groovy    |  64 +++++-----
 src/it/includeEmptyDirs/verify.groovy      | 167 +++++++++++-------------
 src/it/profile-override/prebuild.groovy    |   8 +-
 src/it/profile-override/verify.groovy      |  49 ++++----
 src/it/skip-yes/verify.groovy              |   4 +-
 src/it/user-filters/verify.groovy          |  12 +-
 32 files changed, 757 insertions(+), 903 deletions(-)

diff --git a/src/it/MRESOURCES-104/verify.groovy 
b/src/it/MRESOURCES-104/verify.groovy
index 64e975b..2e0d279 100644
--- a/src/it/MRESOURCES-104/verify.groovy
+++ b/src/it/MRESOURCES-104/verify.groovy
@@ -16,10 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/classes/test.properties').exists();
+assert new File(basedir, 'target/classes/test.properties').exists()
 
-content = new File(basedir, 'target/classes/test.properties').text;
-assert content.contains( '[email protected]');
-assert content.contains( 'foo=0.0.1-SNAPSHOT');
-assert content.contains( 'bar=0.0.1-SNAPSHOT');
-return true;
\ No newline at end of file
+content = new File(basedir, 'target/classes/test.properties').text
+assert content.contains('[email protected]')
+assert content.contains('foo=0.0.1-SNAPSHOT')
+assert content.contains('bar=0.0.1-SNAPSHOT')
+return true
\ No newline at end of file
diff --git a/src/it/MRESOURCES-106/verify.groovy 
b/src/it/MRESOURCES-106/verify.groovy
index 5f9e6b5..8c73945 100644
--- a/src/it/MRESOURCES-106/verify.groovy
+++ b/src/it/MRESOURCES-106/verify.groovy
@@ -18,56 +18,49 @@
  * under the License.
  */
 
-import java.io.*;
-import java.util.*;
+import java.io.*
+import java.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/classes/filter.properties" );
-    if ( !someResource.exists() || !someResource.isFile() )
-    {
-        System.err.println( "file.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/classes/filter.properties")
+    if (!someResource.exists() || !someResource.isFile()) {
+        System.err.println("file.txt is missing or not a file.")
+        return false
     }
 
-    FileInputStream fis = new FileInputStream( someResource );
-    Properties p = new Properties();
-    p.load( fis );
+    FileInputStream fis = new FileInputStream(someResource)
+    Properties p = new Properties()
+    p.load(fis)
 
-    File f = new File( p.getProperty( "location" ) );
-    if ( !f.exists() )
-    {
-        System.err.println( "Property was not correctly filtered: " + f + "\n" 
+ f.getAbsolutePath() );
-        result = false;
+    File f = new File(p.getProperty("location"))
+    if (!f.exists()) {
+        System.err.println("Property was not correctly filtered: " + f + "\n" 
+ f.getAbsolutePath())
+        result = false
     }
 
-    File basedir = new File( p.getProperty( "basedir" ) );
-    if ( !basedir.exists() )
-    {
-        System.err.println( "Property was not correctly filtered: " + basedir 
+ "\n" + basedir.getAbsolutePath() );
-        result = false;
+    File basedir = new File(p.getProperty("basedir"))
+    if (!basedir.exists()) {
+        System.err.println("Property was not correctly filtered: " + basedir + 
"\n" + basedir.getAbsolutePath())
+        result = false
     }
 
-    File expectedLocation = new File( basedir, "src/main/resources/file.txt" );
-    if ( !expectedLocation.equals( f ) )
-    {
-        System.err.println( "Files doesn't match:\n" + basedir + "\n" + 
expectedLocation );
-        result = false;
+    File expectedLocation = new File(basedir, "src/main/resources/file.txt")
+    if (!expectedLocation.equals(f)) {
+        System.err.println("Files doesn't match:\n" + basedir + "\n" + 
expectedLocation)
+        result = false
     }
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/MRESOURCES-110/verify.groovy 
b/src/it/MRESOURCES-110/verify.groovy
index 85807e3..aab6739 100644
--- a/src/it/MRESOURCES-110/verify.groovy
+++ b/src/it/MRESOURCES-110/verify.groovy
@@ -16,10 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/classes/mresources-110.xml').exists();
+assert new File(basedir, 'target/classes/mresources-110.xml').exists()
 
-content = new File(basedir, 'target/classes/mresources-110.xml').text;
-assert content.contains( '<broken-tag>Content with replacement: I am the 
replacement !</broken-tag>');
-assert content.contains( '<broken-tag>Content with escaped replacement: Do not 
${replaceThis} !</broken-tag>');
+content = new File(basedir, 'target/classes/mresources-110.xml').text
+assert content.contains('<broken-tag>Content with replacement: I am the 
replacement !</broken-tag>')
+assert content.contains('<broken-tag>Content with escaped replacement: Do not 
${replaceThis} !</broken-tag>')
 
-return true;
\ No newline at end of file
+return true
\ No newline at end of file
diff --git a/src/it/MRESOURCES-131/verify.groovy 
b/src/it/MRESOURCES-131/verify.groovy
index b9d1d16..221f1cc 100644
--- a/src/it/MRESOURCES-131/verify.groovy
+++ b/src/it/MRESOURCES-131/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-skippedFile = new File(basedir, 'target/test-classes/skipped.txt');
-assert !skippedFile.exists();
+skippedFile = new File(basedir, 'target/test-classes/skipped.txt')
+assert !skippedFile.exists()
 
-return true;
\ No newline at end of file
+return true
\ No newline at end of file
diff --git a/src/it/MRESOURCES-162-fail/verify.groovy 
b/src/it/MRESOURCES-162-fail/verify.groovy
index a3edf3f..91ce107 100644
--- a/src/it/MRESOURCES-162-fail/verify.groovy
+++ b/src/it/MRESOURCES-162-fail/verify.groovy
@@ -19,7 +19,7 @@
 
 // MRESOURCES-162: when failOnMissingFilterValue=true, the build must fail
 // and the error message must identify the unresolved token.
-def buildLog = new File( basedir, "build.log" )
-assert buildLog.text.contains( "BUILD FAILURE" )
-assert buildLog.text.contains( "missing.property" )
+def buildLog = new File(basedir, "build.log")
+assert buildLog.text.contains("BUILD FAILURE")
+assert buildLog.text.contains("missing.property")
 return true
diff --git a/src/it/MRESOURCES-162-pass/verify.groovy 
b/src/it/MRESOURCES-162-pass/verify.groovy
index 150ffd9..cd94dab 100644
--- a/src/it/MRESOURCES-162-pass/verify.groovy
+++ b/src/it/MRESOURCES-162-pass/verify.groovy
@@ -21,12 +21,12 @@
 // the build succeeds and the unresolved placeholder is passed through as-is.
 import org.codehaus.plexus.util.FileUtils
 
-def resource = new File( basedir, "target/classes/resource.txt" )
+def resource = new File(basedir, "target/classes/resource.txt")
 assert resource.exists()
 
-def content = FileUtils.fileRead( resource )
+def content = FileUtils.fileRead(resource)
 // defined.property must be resolved
-assert content.contains( "defined=hello" )
+assert content.contains("defined=hello")
 // missing.property must be passed through literally
-assert content.contains( 'missing=${missing.property}' )
+assert content.contains('missing=${missing.property}')
 return true
diff --git a/src/it/MRESOURCES-166/verify.groovy 
b/src/it/MRESOURCES-166/verify.groovy
index 1639907..5db8c6a 100644
--- a/src/it/MRESOURCES-166/verify.groovy
+++ b/src/it/MRESOURCES-166/verify.groovy
@@ -16,10 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/classes/resource.txt').exists();
+assert new File(basedir, 'target/classes/resource.txt').exists()
 
-filteredContent = new File(basedir, 'target/classes/resource.txt').text;
-assert filteredContent.contains( 'fileValue=${foo.file}');
-assert filteredContent.contains( 'export SERVER_ENV=${SERVER_ENV:sandbox}');
+filteredContent = new File(basedir, 'target/classes/resource.txt').text
+assert filteredContent.contains('fileValue=${foo.file}')
+assert filteredContent.contains('export SERVER_ENV=${SERVER_ENV:sandbox}')
 
-return true;
\ No newline at end of file
+return true
\ No newline at end of file
diff --git a/src/it/MRESOURCES-171/verify.groovy 
b/src/it/MRESOURCES-171/verify.groovy
index e900c73..62cfa06 100644
--- a/src/it/MRESOURCES-171/verify.groovy
+++ b/src/it/MRESOURCES-171/verify.groovy
@@ -16,10 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File( basedir, 'target/classes/test.properties' ).exists();
-assert new File( basedir, 'target/classes/test.txt' ).exists();
+assert new File(basedir, 'target/classes/test.properties').exists()
+assert new File(basedir, 'target/classes/test.txt').exists()
 
-sourceTextContent = new File( basedir, 'src/main/resources/test.txt' ).text;
-targetTextContent = new File( basedir, 'target/classes/test.txt' ).text;
-assert sourceTextContent.equals( targetTextContent );
-return true;
+sourceTextContent = new File(basedir, 'src/main/resources/test.txt').text
+targetTextContent = new File(basedir, 'target/classes/test.txt').text
+assert sourceTextContent.equals(targetTextContent)
+return true
diff --git a/src/it/MRESOURCES-20/verify.groovy 
b/src/it/MRESOURCES-20/verify.groovy
index fb4f1e0..834b4d6 100644
--- a/src/it/MRESOURCES-20/verify.groovy
+++ b/src/it/MRESOURCES-20/verify.groovy
@@ -18,41 +18,36 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/classes/resource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "SomeResource.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/classes/resource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("SomeResource.txt is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
-    int indexOf = paramContent.indexOf( 'fileValue=${foo.file}' );
-    if ( indexOf < 0 )
-    {
-      System.err.println( 'SomeResource.txt not contains 
fileValue=${foo.file}' );
-      return false;
+    int indexOf = paramContent.indexOf('fileValue=${foo.file}')
+    if (indexOf < 0) {
+        System.err.println('SomeResource.txt not contains 
fileValue=${foo.file}')
+        return false
     }
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/MRESOURCES-231/verify.groovy 
b/src/it/MRESOURCES-231/verify.groovy
index b85a00b..6a1c148 100644
--- a/src/it/MRESOURCES-231/verify.groovy
+++ b/src/it/MRESOURCES-231/verify.groovy
@@ -16,8 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/classes/test.txt').exists();
+assert new File(basedir, 'target/classes/test.txt').exists()
 
-content = new File(basedir, 'target/classes/test.txt').text;
-assert content.contains( 
'something\\with\\default\\escape\\string\\and\\a\\property\\like\\UTF-8\\in\\between'
 );
-return true;
+content = new File(basedir, 'target/classes/test.txt').text
+assert 
content.contains('something\\with\\default\\escape\\string\\and\\a\\property\\like\\UTF-8\\in\\between')
+return true
diff --git a/src/it/MRESOURCES-232/verify.groovy 
b/src/it/MRESOURCES-232/verify.groovy
index ffe24ae..c137e71 100644
--- a/src/it/MRESOURCES-232/verify.groovy
+++ b/src/it/MRESOURCES-232/verify.groovy
@@ -23,16 +23,16 @@
 //   1. Have the token expanded (${world} → World)
 //   2. Encode é as UTF-8 (0xC3 0xA9)
 
-File output = new File( basedir, 'target/classes/message.txt' );
-assert output.exists() : "message.txt was not copied";
+File output = new File(basedir, 'target/classes/message.txt')
+assert output.exists() : "message.txt was not copied"
 
 // Read as UTF-8 — if the file were still Latin-1 this would produce garbage 
for é
-String content = output.getText( 'UTF-8' );
+String content = output.getText( 'UTF-8' )
 assert content.trim() == 'Bonjour World! caf\u00e9' : "Unexpected content: 
'${content.trim()}'"
 
 // Also verify the raw bytes: é should be the two-byte UTF-8 sequence 0xC3 0xA9
-byte[] bytes = output.bytes;
-String hex = bytes.collect { String.format('%02x', it & 0xFF) }.join(' ');
+byte[] bytes = output.bytes
+String hex = bytes.collect { String.format('%02x', it & 0xFF) }.join(' ')
 assert hex.contains('c3 a9') : "Expected UTF-8 é (c3 a9) in output bytes, got: 
${hex}"
 
-return true;
+return true
diff --git a/src/it/MRESOURCES-257/verify.groovy 
b/src/it/MRESOURCES-257/verify.groovy
index 6f88c82..f990f35 100644
--- a/src/it/MRESOURCES-257/verify.groovy
+++ b/src/it/MRESOURCES-257/verify.groovy
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/classes/test.txt').exists();
+assert new File(basedir, 'target/classes/test.txt').exists()
 
-content = new File(basedir, 'target/classes/test.txt').text;
-assert content.contains( '[email protected]' );
-assert content.contains( 'orga' );
-return true;
+content = new File(basedir, 'target/classes/test.txt').text
+assert content.contains('[email protected]')
+assert content.contains('orga')
+return true
diff --git a/src/it/MRESOURCES-286/verify.groovy 
b/src/it/MRESOURCES-286/verify.groovy
index ee64a58..6606423 100644
--- a/src/it/MRESOURCES-286/verify.groovy
+++ b/src/it/MRESOURCES-286/verify.groovy
@@ -34,12 +34,12 @@ def outputDir = new File(basedir, "target/classes")
 def neverDest = new File(outputDir, "never.txt")
 assert neverDest.exists() : "never.txt must exist after process-resources"
 assert neverDest.text.normalize().trim() == "sentinel \u2014 do not overwrite" 
:
-        "changeDetection=NEVER must leave the existing file untouched; found: 
'${neverDest.text}'"
+"changeDetection=NEVER must leave the existing file untouched; found: 
'${neverDest.text}'"
 
 // 2) ALWAYS — the source content must be copied
 def alwaysDest = new File(outputDir, "always.txt")
 assert alwaysDest.exists() : "always.txt must exist after process-resources"
 assert alwaysDest.text.normalize().trim() == "always-overwrite me" :
-        "changeDetection=ALWAYS must copy the source content; found: 
'${alwaysDest.text}'"
+"changeDetection=ALWAYS must copy the source content; found: 
'${alwaysDest.text}'"
 
 return true
diff --git a/src/it/MRESOURCES-301/verify.groovy 
b/src/it/MRESOURCES-301/verify.groovy
index 67c38db..d16f363 100644
--- a/src/it/MRESOURCES-301/verify.groovy
+++ b/src/it/MRESOURCES-301/verify.groovy
@@ -19,30 +19,30 @@
 
 // MRESOURCES-301: binary .jar files must be binary-copied by default (no 
nonFilteredFileExtensions config needed)
 
-import java.io.*;
-import java.nio.file.*;
+import java.io.*
+import java.nio.file.*
 
-boolean filesAreIdentical( File expected, File current ) throws IOException {
-    if ( expected.length() != current.length() ) {
-        return false;
+boolean filesAreIdentical(File expected, File current) throws IOException {
+    if (expected.length() != current.length()) {
+        return false
     }
-    byte[] expectedBytes = Files.readAllBytes( expected.toPath() );
-    byte[] currentBytes  = Files.readAllBytes( current.toPath() );
-    return Arrays.equals( expectedBytes, currentBytes );
+    byte[] expectedBytes = Files.readAllBytes(expected.toPath())
+    byte[] currentBytes = Files.readAllBytes(current.toPath())
+    return Arrays.equals(expectedBytes, currentBytes)
 }
 
-File src    = new File( basedir, "src/main/resources/lib/binary.jar" );
-File target = new File( basedir, "target/classes/lib/binary.jar" );
+File src = new File(basedir, "src/main/resources/lib/binary.jar")
+File target = new File(basedir, "target/classes/lib/binary.jar")
 
-if ( !target.exists() ) {
-    System.err.println( "MRESOURCES-301: target/classes/lib/binary.jar does 
not exist" );
-    return false;
+if (!target.exists()) {
+    System.err.println("MRESOURCES-301: target/classes/lib/binary.jar does not 
exist")
+    return false
 }
 
-if ( !filesAreIdentical( src, target ) ) {
-    System.err.println( "MRESOURCES-301: binary.jar was modified during 
filtering — content is not identical to source" );
-    return false;
+if (!filesAreIdentical(src, target)) {
+    System.err.println("MRESOURCES-301: binary.jar was modified during 
filtering — content is not identical to source")
+    return false
 }
 
-System.out.println( "MRESOURCES-301: binary.jar was binary-copied correctly 
without nonFilteredFileExtensions config" );
-return true;
+System.out.println("MRESOURCES-301: binary.jar was binary-copied correctly 
without nonFilteredFileExtensions config")
+return true
diff --git a/src/it/MRESOURCES-521/verify.groovy 
b/src/it/MRESOURCES-521/verify.groovy
index 61afd89..c640b69 100644
--- a/src/it/MRESOURCES-521/verify.groovy
+++ b/src/it/MRESOURCES-521/verify.groovy
@@ -24,44 +24,44 @@ import java.nio.file.*
 
 // --- 1) Verify the binary .p12 file was copied byte-for-byte ---
 
-File src    = new File( basedir, "src/main/resources/certs/keystore.p12" )
-File target = new File( basedir, "target/classes/certs/keystore.p12" )
+File src = new File(basedir, "src/main/resources/certs/keystore.p12")
+File target = new File(basedir, "target/classes/certs/keystore.p12")
 
-if ( !target.exists() ) {
-    System.err.println( "MRESOURCES-521: target/classes/certs/keystore.p12 
does not exist" )
+if (!target.exists()) {
+    System.err.println("MRESOURCES-521: target/classes/certs/keystore.p12 does 
not exist")
     return false
 }
 
-byte[] expectedBytes = Files.readAllBytes( src.toPath() )
-byte[] actualBytes   = Files.readAllBytes( target.toPath() )
+byte[] expectedBytes = Files.readAllBytes(src.toPath())
+byte[] actualBytes = Files.readAllBytes(target.toPath())
 
-if ( !Arrays.equals( expectedBytes, actualBytes ) ) {
-    System.err.println( "MRESOURCES-521: keystore.p12 was modified during 
filtering — content is not identical to source" )
-    System.err.println( "  source size: " + expectedBytes.length + ", target 
size: " + actualBytes.length )
+if (!Arrays.equals(expectedBytes, actualBytes)) {
+    System.err.println("MRESOURCES-521: keystore.p12 was modified during 
filtering — content is not identical to source")
+    System.err.println("  source size: " + expectedBytes.length + ", target 
size: " + actualBytes.length)
     return false
 }
 
-System.out.println( "MRESOURCES-521: keystore.p12 was binary-copied correctly 
(nonFilteredFiles pattern matched)" )
+System.out.println("MRESOURCES-521: keystore.p12 was binary-copied correctly 
(nonFilteredFiles pattern matched)")
 
 // --- 2) Verify that text files NOT matched by the pattern were still 
filtered ---
 
-File propsTarget = new File( basedir, "target/classes/config.properties" )
+File propsTarget = new File(basedir, "target/classes/config.properties")
 
-if ( !propsTarget.exists() ) {
-    System.err.println( "MRESOURCES-521: target/classes/config.properties does 
not exist" )
+if (!propsTarget.exists()) {
+    System.err.println("MRESOURCES-521: target/classes/config.properties does 
not exist")
     return false
 }
 
 String propsContent = propsTarget.text
-if ( propsContent.contains( '${project.version}' ) ) {
-    System.err.println( "MRESOURCES-521: config.properties was NOT filtered — 
still contains \${project.version}" )
+if (propsContent.contains('${project.version}')) {
+    System.err.println("MRESOURCES-521: config.properties was NOT filtered — 
still contains \${project.version}")
     return false
 }
-if ( !propsContent.contains( "1.0-SNAPSHOT" ) ) {
-    System.err.println( "MRESOURCES-521: config.properties does not contain 
the resolved version 1.0-SNAPSHOT" )
+if (!propsContent.contains("1.0-SNAPSHOT")) {
+    System.err.println("MRESOURCES-521: config.properties does not contain the 
resolved version 1.0-SNAPSHOT")
     return false
 }
 
-System.out.println( "MRESOURCES-521: config.properties was correctly filtered 
(nonFilteredFiles did not suppress it)" )
+System.out.println("MRESOURCES-521: config.properties was correctly filtered 
(nonFilteredFiles did not suppress it)")
 
 return true
diff --git a/src/it/MRESOURCES-77/verify.groovy 
b/src/it/MRESOURCES-77/verify.groovy
index 796acf8..11072ef 100644
--- a/src/it/MRESOURCES-77/verify.groovy
+++ b/src/it/MRESOURCES-77/verify.groovy
@@ -18,115 +18,101 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/SomeResource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "SomeResource.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/SomeResource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("SomeResource.txt is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
     //test:direct resolution project.version=1.0-SNAPSHOT
-    int indexOf = paramContent.indexOf( "test:direct resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    int indexOf = paramContent.indexOf("test:direct resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
 
     //test:filter resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:filter resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
     //test:filter direct projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter resolution projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter direct profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter resolution profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter syspropsExecutionPropsWins=fromExecProps
-    indexOf = paramContent.indexOf( "test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter 
syspropsExecutionPropsWins=fromExecProps")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps")
+        return false
     }
 
     //newToken=foo
-    indexOf = paramContent.indexOf( "newToken=foo" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains newToken=foo" );
-      return false;
+    indexOf = paramContent.indexOf("newToken=foo")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains newToken=foo")
+        return false
     }
 
     //var3=Bar-Bar/Stuff
-    indexOf = paramContent.indexOf( "var3=Foo-Bar/Stuff" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains var3=Foo-Bar/Stuff" );
-      return false;
+    indexOf = paramContent.indexOf("var3=Foo-Bar/Stuff")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains var3=Foo-Bar/Stuff")
+        return false
     }
 
     //custom=my-custom-filter-value
-    indexOf = paramContent.indexOf( "custom=my-custom-filter-value" );
-    if ( indexOf < 0 )
-    {
-           System.err.println( "SomeResource.txt doesn't contain 
custom=my-custom-filter-value'" );
-           return false;
+    indexOf = paramContent.indexOf("custom=my-custom-filter-value")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt doesn't contain 
custom=my-custom-filter-value'")
+        return false
     }
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/MRESOURCES-78/verify.groovy 
b/src/it/MRESOURCES-78/verify.groovy
index cbacd2e..f6c0354 100644
--- a/src/it/MRESOURCES-78/verify.groovy
+++ b/src/it/MRESOURCES-78/verify.groovy
@@ -16,12 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/classes/filtered.properties').exists();
-assert new File(basedir, 'target/classes/unfiltered.properties').exists();
+assert new File(basedir, 'target/classes/filtered.properties').exists()
+assert new File(basedir, 'target/classes/unfiltered.properties').exists()
 
-filteredContent = new File(basedir, 'target/classes/filtered.properties').text;
-assert filteredContent.contains( 'bar=this is bar');
-assert filteredContent.contains( 'escaped=${escaped}');
-assert filteredContent.contains( '[email protected]@');
+filteredContent = new File(basedir, 'target/classes/filtered.properties').text
+assert filteredContent.contains('bar=this is bar')
+assert filteredContent.contains('escaped=${escaped}')
+assert filteredContent.contains('[email protected]@')
 
-return true;
\ No newline at end of file
+return true
\ No newline at end of file
diff --git a/src/it/MRESOURCES-99/verify.groovy 
b/src/it/MRESOURCES-99/verify.groovy
index b0b2e7d..bec49ac 100644
--- a/src/it/MRESOURCES-99/verify.groovy
+++ b/src/it/MRESOURCES-99/verify.groovy
@@ -17,120 +17,117 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import java.util.List;
-import java.util.Collections;
-import java.util.Arrays;
+import java.util.List
+import java.util.Collections
+import java.util.Arrays
 
-boolean result = true;
+boolean result = true
 
-File target = new File( basedir, "target" );
-if ( !target.exists() || !target.isDirectory() )
-{
-    System.err.println( "target folder is missing or not a directory." );
-    return false;
+File target = new File(basedir, "target")
+if (!target.exists() || !target.isDirectory()) {
+    System.err.println("target folder is missing or not a directory.")
+    return false
 }
 
-File someResource = new File( target, "/classes/SomeResource.txt" );
-if ( !someResource.exists() || someResource.isDirectory() )
-{
-    System.err.println( "SomeResource.txt is missing or not a file." );
-    return false;
+File someResource = new File(target, "/classes/SomeResource.txt")
+if (!someResource.exists() || someResource.isDirectory()) {
+    System.err.println("SomeResource.txt is missing or not a file.")
+    return false
 }
 
-Properties props = new Properties();
+Properties props = new Properties()
 
-try (FileInputStream fis = new FileInputStream( someResource )) {
-    props.load( fis );
+try (FileInputStream fis = new FileInputStream(someResource)) {
+    props.load(fis)
 }
-catch ( IOException ex )
-{
-  System.err.println( "Failure during reading the properties " + 
someResource.getAbsolutePath() );
-  return false;
+catch (IOException ex) {
+    System.err.println("Failure during reading the properties " + 
someResource.getAbsolutePath())
+    return false
 }
 
 def keysWhichHaveToExist = [
-    "timestamp", 
-    "at.timestamp", 
+    "timestamp",
+    "at.timestamp",
     "build.timestamp",
-    "project.build.timestamp", 
-    "baseUri", 
+    "project.build.timestamp",
+    "baseUri",
     "project.baseUri",
-    "pom.baseUri", 
-    "at.baseUri", 
-    "groupId", 
+    "pom.baseUri",
+    "at.baseUri",
+    "groupId",
     "basedir",
     "project.basedir",
 ]
 
- 
+
 keysWhichHaveToExist.each { key ->
-  if (!props.containsKey(key)) {
-      println "Missing the key '" + key + "'"
-      return false
-  }
+    if (!props.containsKey(key)) {
+        println "Missing the key '" + key + "'"
+        return false
+    }
 }
 
-currentTimestamp = props.get("timestamp") 
+currentTimestamp = props.get("timestamp")
 currentAtTimeStamp = props.get("at.timestamp")
-if (  !currentTimestamp.equals (currentAtTimeStamp) 
-    && !currentTimestamp.equals('${maven.build.timestamp}') 
-    && !currentAtTimeStamp.equals('@maven.build.timestamp@') ) {
-  println 'The ${maven.build.timestamp} has not correctly being replaced.'
-  return false
-} 
-
-buildTimeStamp = props.get("build.timestamp") 
-if ( !buildTimeStamp.equals ('${build.timestamp}') ) {
-  println 'The ${build.timestamp} has been replaced.'
-  return false
+if (!currentTimestamp.equals(currentAtTimeStamp)
+        && !currentTimestamp.equals('${maven.build.timestamp}')
+        && !currentAtTimeStamp.equals('@maven.build.timestamp@')) {
+    println 'The ${maven.build.timestamp} has not correctly being replaced.'
+    return false
+}
+
+buildTimeStamp = props.get("build.timestamp")
+if (!buildTimeStamp.equals('${build.timestamp}')) {
+    println 'The ${build.timestamp} has been replaced.'
+    return false
 }
 
 currentProjectBuildTimeStamp = props.get('project.build.timestamp')
-if ( !currentProjectBuildTimeStamp.equals ('${project.build.timestamp}') ) {
-  println 'The ${project.build.timestamp} has been replaced.'
-  return false
+if (!currentProjectBuildTimeStamp.equals('${project.build.timestamp}')) {
+    println 'The ${project.build.timestamp} has been replaced.'
+    return false
 }
 
 currentBaseUri = props.get('baseUri')
-if ( !currentBaseUri.equals ('${baseUri}') ) {
-  println 'The ${baseUri} has been replaced.'
-  return false
+if (!currentBaseUri.equals('${baseUri}')) {
+    println 'The ${baseUri} has been replaced.'
+    return false
 }
 
 currentProjectBaseUri = props.get('project.baseUri')
-if ( currentProjectBaseUri.equals ('${project.baseUri}') ) {
-  println 'The ${project.baseUri} has not been replaced.'
-  return false
+if (currentProjectBaseUri.equals('${project.baseUri}')) {
+    println 'The ${project.baseUri} has not been replaced.'
+    return false
 }
 
 currentPomBaseUri = props.get('pom.baseUri')
-if ( !currentPomBaseUri.equals ('${pom.baseUri}') ) {
-  println 'The ${pom.baseUri} has been replaced.'
-  return false
+if (!currentPomBaseUri.equals('${pom.baseUri}')) {
+    println 'The ${pom.baseUri} has been replaced.'
+    return false
 }
 
 currentAtBaseUri = props.get('at.baseUri')
-if ( !currentAtBaseUri.equals ('@baseUri@') ) {
-  println 'The @baseUri@ has been replaced.'
-  return false
+if (!currentAtBaseUri.equals('@baseUri@')) {
+    println 'The @baseUri@ has been replaced.'
+    return false
 }
 
 currentGroupId = props.get('project.groupId')
-if ( currentGroupId.equals ('${project.groupId}') ) {
-  println 'The ${project.groupId} has not been replaced.'
-  return false
+if (currentGroupId.equals('${project.groupId}')) {
+    println 'The ${project.groupId} has not been replaced.'
+    return false
 }
 currentBaseDir = props.get('basedir')
-if ( currentBaseDir.equals ('${basedir}') ) {
-  println 'The ${basedir} has not been replaced.'
-  return false
+if (currentBaseDir.equals('${basedir}')) {
+    println 'The ${basedir} has not been replaced.'
+    return false
 }
 currentProjectBaseDir = props.get('project.basedir')
-if ( currentBaseDir.equals ('${project.basedir}') ) {
-  println 'The ${project.basedir} has not been replaced.'
-  return false
+if (currentBaseDir.equals('${project.basedir}')) {
+    println 'The ${project.basedir} has not been replaced.'
+    return false
 }
 
-return result;
+return result
diff --git a/src/it/binaries-filtering/verify.groovy 
b/src/it/binaries-filtering/verify.groovy
index 3ba9324..07869a4 100644
--- a/src/it/binaries-filtering/verify.groovy
+++ b/src/it/binaries-filtering/verify.groovy
@@ -18,78 +18,66 @@
  * under the License.
  */
 
-import java.io.*;
-import org.codehaus.plexus.util.*;
+import java.io.*
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-boolean filesAreIdentical( File expected, File current )
-    throws IOException
-{
-    if ( expected.length() != current.length() )
-    {
-        return false;
+boolean filesAreIdentical(File expected, File current)
+throws IOException {
+    if (expected.length() != current.length()) {
+        return false
     }
-    FileInputStream expectedIn = new FileInputStream( expected );
-    FileInputStream currentIn = new FileInputStream( current );
-    try
-    {
-        byte[] expectedBuffer = IOUtil.toByteArray( expectedIn );
-
-        byte[] currentBuffer = IOUtil.toByteArray( currentIn );
-        if (expectedBuffer.length != currentBuffer.length)
-        {
-            return false;
+    FileInputStream expectedIn = new FileInputStream(expected)
+    FileInputStream currentIn = new FileInputStream(current)
+    try {
+        byte[] expectedBuffer = IOUtil.toByteArray(expectedIn)
+
+        byte[] currentBuffer = IOUtil.toByteArray(currentIn)
+        if (expectedBuffer.length != currentBuffer.length) {
+            return false
         }
-        for (int i = 0,size = expectedBuffer.length;i<size;i++)
-        {
-            if(expectedBuffer[i]!= currentBuffer[i])
-            {
-                return false;
+        for (int i = 0, size = expectedBuffer.length;i<size;i++) {
+            if(expectedBuffer[i]!= currentBuffer[i]) {
+                return false
             }
         }
     }
-    finally
-    {
-        expectedIn.close();
-        currentIn.close();
+    finally {
+        expectedIn.close()
+        currentIn.close()
     }
-    return true;
+    return true
 }
 
-try
-{
+try {
 
-       File originalImg = new File( basedir, 
"src/main/resources/happy_duke.gif" );
-       
-       File targetImg = new File( basedir, "target/classes/happy_duke.gif" );
+    File originalImg = new File(basedir, "src/main/resources/happy_duke.gif")
 
-  boolean identical = filesAreIdentical( originalImg, targetImg );
+    File targetImg = new File(basedir, "target/classes/happy_duke.gif")
 
-  if (!identical)
-  {
-      System.err.println( "filtered images happy_duke.gif are not identical." 
);
-      return false;
-  }
+    boolean identical = filesAreIdentical(originalImg, targetImg)
 
-  originalImg = new File( basedir, "src/main/resources/duke-beerjpg.img" );
+    if (!identical) {
+        System.err.println("filtered images happy_duke.gif are not identical.")
+        return false
+    }
 
-  targetImg = new File( basedir, "target/classes/duke-beerjpg.img" );
+    originalImg = new File(basedir, "src/main/resources/duke-beerjpg.img")
 
-  identical = filesAreIdentical( originalImg, targetImg );
+    targetImg = new File(basedir, "target/classes/duke-beerjpg.img")
 
-  if (!identical)
-  {
-      System.err.println( "filtered .img duke-beer.jpg.img are not identical." 
);
-      return false;
-  }
+    identical = filesAreIdentical(originalImg, targetImg)
 
+    if (!identical) {
+        System.err.println("filtered .img duke-beer.jpg.img are not 
identical.")
+        return false
+    }
 }
-catch( Throwable e )
-{
-    e.printStackTrace();
-    result = false;
+catch(Throwable e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
 
diff --git a/src/it/copy-resources-it/verify.groovy 
b/src/it/copy-resources-it/verify.groovy
index f6f9a84..467a1d9 100644
--- a/src/it/copy-resources-it/verify.groovy
+++ b/src/it/copy-resources-it/verify.groovy
@@ -18,48 +18,42 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File resource = new File( target, 
"/extra-resources/configuration.properties" );
-    if ( !resource.exists() || resource.isDirectory() )
-    {
-        System.err.println( "configuration.properties is missing or not a 
file." );
-        return false;
+    File resource = new File(target, 
"/extra-resources/configuration.properties")
+    if (!resource.exists() || resource.isDirectory()) {
+        System.err.println("configuration.properties is missing or not a 
file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( resource );
+    String paramContent = FileUtils.fileRead(resource)
 
-    int indexOf = paramContent.indexOf( 
"artifactId=maven-resources-plugin-copy-resources-it" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "configuration.properties not contains 
artifactId=maven-resources-plugin-copy-resources-it" );
-      return false;
+    int indexOf = 
paramContent.indexOf("artifactId=maven-resources-plugin-copy-resources-it")
+    if (indexOf < 0) {
+        System.err.println("configuration.properties not contains 
artifactId=maven-resources-plugin-copy-resources-it")
+        return false
     }
 
-    indexOf = paramContent.indexOf( "version=1.0.1-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "configuration.properties not contains 
version=1.0.1-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("version=1.0.1-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("configuration.properties not contains 
version=1.0.1-SNAPSHOT")
+        return false
     }
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/custom-delimiter/verify.groovy 
b/src/it/custom-delimiter/verify.groovy
index 443545a..b02e8b5 100644
--- a/src/it/custom-delimiter/verify.groovy
+++ b/src/it/custom-delimiter/verify.groovy
@@ -18,107 +18,94 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/classes/SomeResource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "SomeResource.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/classes/SomeResource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("SomeResource.txt is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
     //test:direct resolution project.version=1.0-SNAPSHOT
-    int indexOf = paramContent.indexOf( "test:direct resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    int indexOf = paramContent.indexOf("test:direct resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
 
     //test:filter resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:filter resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
     //test:filter direct projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter resolution projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter direct profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter resolution profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter syspropsExecutionPropsWins=fromExecProps
-    indexOf = paramContent.indexOf( "test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter 
syspropsExecutionPropsWins=fromExecProps")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps")
+        return false
     }
 
     //newToken=foo
-    indexOf = paramContent.indexOf( "newToken=foo" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains newToken=foo" );
-      return false;
+    indexOf = paramContent.indexOf("newToken=foo")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains newToken=foo")
+        return false
     }
 
     //var3=Foo-Bar/Thing
-    indexOf = paramContent.indexOf( "var3=Foo-Bar/Thing" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains var3=Foo-Bar/Thing" );
-      return false;
+    indexOf = paramContent.indexOf("var3=Foo-Bar/Thing")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains var3=Foo-Bar/Thing")
+        return false
     }
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/escapeInterpolation/verify.groovy 
b/src/it/escapeInterpolation/verify.groovy
index 4d72c10..f65f3a4 100644
--- a/src/it/escapeInterpolation/verify.groovy
+++ b/src/it/escapeInterpolation/verify.groovy
@@ -18,102 +18,90 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/classes/SomeResource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "SomeResource.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/classes/SomeResource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("SomeResource.txt is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
     //test:direct resolution project.version=1.0-SNAPSHOT
-    int indexOf = paramContent.indexOf( "test:direct resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    int indexOf = paramContent.indexOf("test:direct resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
 
     //test:filter resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:filter resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
     //test:filter direct projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains test:filter 
direct projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains test:filter 
direct projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter resolution projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter direct profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains test:filter 
direct profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains test:filter 
direct profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter resolution profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter syspropsExecutionPropsWins=fromExecProps
-    indexOf = paramContent.indexOf( "test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter 
syspropsExecutionPropsWins=fromExecProps")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps")
+        return false
     }
 
     //newToken=foo
-    indexOf = paramContent.indexOf( "newToken=foo" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/classes/SomeResource.txt not contains 
newToken=foo" );
-      return false;
+    indexOf = paramContent.indexOf("newToken=foo")
+    if (indexOf < 0) {
+        System.err.println("/classes/SomeResource.txt not contains 
newToken=foo")
+        return false
     }
 
     //escapeString=${project.version}
-    indexOf = paramContent.indexOf( 'escapeString=${project.artifactId}' );
-    if ( indexOf < 0 )
-    {
-      System.err.println( '/classes/SomeResource.txt not contains 
escapeString=${project.version}' );
-      System.out.println (" content " + paramContent );
-      return false;
+    indexOf = paramContent.indexOf('escapeString=${project.artifactId}')
+    if (indexOf < 0) {
+        System.err.println('/classes/SomeResource.txt not contains 
escapeString=${project.version}')
+        System.out.println(" content " + paramContent)
+        return false
     }
 
     // -------------------------
@@ -121,77 +109,67 @@ try
     // -------------------------
 
 
-    someResource = new File( target, "/test-classes/SomeResource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "/test-classes/SomeResource.txt is missing or not 
a file." );
-        return false;
+    someResource = new File(target, "/test-classes/SomeResource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("/test-classes/SomeResource.txt is missing or not a 
file.")
+        return false
     }
 
-    paramContent = FileUtils.fileRead( someResource );
+    paramContent = FileUtils.fileRead(someResource)
 
     //test:direct resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:direct resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/test-classes/SomeResource.txt not contains 
test:direct resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:direct resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("/test-classes/SomeResource.txt not contains 
test:direct resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
 
     //test:filter resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:filter resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/test-classes/SomeResource.txt not contains 
test:filter resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("/test-classes/SomeResource.txt not contains 
test:filter resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
     //test:filter direct projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/test-classes/SomeResource.txt not contains 
test:filter direct projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/test-classes/SomeResource.txt not contains 
test:filter direct projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter resolution projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/test-classes/SomeResource.txt not contains 
test:filter resolution projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/test-classes/SomeResource.txt not contains 
test:filter resolution projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter direct profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/test-classes/SomeResource.txt not contains 
test:filter direct profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/test-classes/SomeResource.txt not contains 
test:filter direct profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter resolution profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "/test-classes/SomeResource.txt not contains 
test:filter resolution profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("/test-classes/SomeResource.txt not contains 
test:filter resolution profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //escapeString=${project.version}
-    indexOf = paramContent.indexOf( 'escapeString=${project.version}' );
-    if ( indexOf < 0 )
-    {
-      System.err.println( '/test-classes/SomeResource.txt not contains 
escapeString=${project.version}' );
-      return false;
+    indexOf = paramContent.indexOf('escapeString=${project.version}')
+    if (indexOf < 0) {
+        System.err.println('/test-classes/SomeResource.txt not contains 
escapeString=${project.version}')
+        return false
     }
-
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/filter-filenames/verify.groovy 
b/src/it/filter-filenames/verify.groovy
index bda24ad..8bf8efa 100644
--- a/src/it/filter-filenames/verify.groovy
+++ b/src/it/filter-filenames/verify.groovy
@@ -18,19 +18,19 @@
  */
 def fileName = '1.0-SNAPSHOT.txt'
 def targetClassFolder = 'target/classes/'
-assert new File(basedir, targetClassFolder + fileName).exists();
+assert new File(basedir, targetClassFolder + fileName).exists()
 
-content = new File(basedir, targetClassFolder + fileName).text;
-assert content.contains( 'org.apache.maven.plugins');
-assert content.contains( 'maven-resources-plugin-it-filter-filenames');
-assert content.contains( '1.0-SNAPSHOT');
+content = new File(basedir, targetClassFolder + fileName).text
+assert content.contains('org.apache.maven.plugins')
+assert content.contains('maven-resources-plugin-it-filter-filenames')
+assert content.contains('1.0-SNAPSHOT')
 
 fileName = 'maven-resources-plugin-it-filter-filenames.txt'
-assert new File(basedir, targetClassFolder + fileName).exists();
+assert new File(basedir, targetClassFolder + fileName).exists()
 
-content = new File(basedir, targetClassFolder + fileName).text;
-assert content.contains( 'org.apache.maven.plugins');
-assert content.contains( 'maven-resources-plugin-it-filter-filenames');
-assert content.contains( '1.0-SNAPSHOT');
+content = new File(basedir, targetClassFolder + fileName).text
+assert content.contains('org.apache.maven.plugins')
+assert content.contains('maven-resources-plugin-it-filter-filenames')
+assert content.contains('1.0-SNAPSHOT')
 
-return true;
+return true
diff --git a/src/it/filter-test-resources/verify.groovy 
b/src/it/filter-test-resources/verify.groovy
index e3d7022..e0c1634 100644
--- a/src/it/filter-test-resources/verify.groovy
+++ b/src/it/filter-test-resources/verify.groovy
@@ -18,84 +18,73 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/test-classes/SomeResource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "SomeResource.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/test-classes/SomeResource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("SomeResource.txt is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
     //test:direct resolution project.version=1.0-SNAPSHOT
-    int indexOf = paramContent.indexOf( "test:direct resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    int indexOf = paramContent.indexOf("test:direct resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
 
     //test:filter resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:filter resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
     //test:filter direct projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter resolution projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter direct profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter resolution profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar")
+        return false
     }
-
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/filter/verify.groovy b/src/it/filter/verify.groovy
index 443545a..b02e8b5 100644
--- a/src/it/filter/verify.groovy
+++ b/src/it/filter/verify.groovy
@@ -18,107 +18,94 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/classes/SomeResource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "SomeResource.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/classes/SomeResource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("SomeResource.txt is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
     //test:direct resolution project.version=1.0-SNAPSHOT
-    int indexOf = paramContent.indexOf( "test:direct resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    int indexOf = paramContent.indexOf("test:direct resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
 
     //test:filter resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:filter resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
     //test:filter direct projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter resolution projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter direct profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter resolution profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter syspropsExecutionPropsWins=fromExecProps
-    indexOf = paramContent.indexOf( "test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter 
syspropsExecutionPropsWins=fromExecProps")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps")
+        return false
     }
 
     //newToken=foo
-    indexOf = paramContent.indexOf( "newToken=foo" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains newToken=foo" );
-      return false;
+    indexOf = paramContent.indexOf("newToken=foo")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains newToken=foo")
+        return false
     }
 
     //var3=Foo-Bar/Thing
-    indexOf = paramContent.indexOf( "var3=Foo-Bar/Thing" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains var3=Foo-Bar/Thing" );
-      return false;
+    indexOf = paramContent.indexOf("var3=Foo-Bar/Thing")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains var3=Foo-Bar/Thing")
+        return false
     }
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/include-git-ignore/setup.groovy 
b/src/it/include-git-ignore/setup.groovy
index 2ddd3c1..c2d0869 100644
--- a/src/it/include-git-ignore/setup.groovy
+++ b/src/it/include-git-ignore/setup.groovy
@@ -17,77 +17,71 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File resources = new File( basedir, "src/main/resources/" );
-    if ( !resources.mkdirs() ) {
-      System.out.println ( "Failed to create src/main/resources directory." );
-      result = false;
+try {
+    File resources = new File(basedir, "src/main/resources/")
+    if (!resources.mkdirs()) {
+        System.out.println("Failed to create src/main/resources directory.")
+        result = false
     }
 
-    File gitIgnore = new File ( resources, ".gitignore" );
+    File gitIgnore = new File(resources, ".gitignore")
 
 
-    BufferedWriter writer;
+    BufferedWriter writer
     try {
 
-      writer = new BufferedWriter(new FileWriter(gitIgnore));
-      writer.write ("# Test for .gitignore");
-      writer.newLine();
+        writer = new BufferedWriter(new FileWriter(gitIgnore))
+        writer.write("# Test for .gitignore")
+        writer.newLine()
     }
     finally {
-      try {
-        // Close the writer regardless of what happens...
-        writer.close();
-      } catch (Exception e) {
-        e.printStackTrace();
-      }
+        try {
+            // Close the writer regardless of what happens...
+            writer.close()
+        } catch (Exception e) {
+            e.printStackTrace()
+        }
     }
-
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-try
-{
-    File resources = new File( basedir, 
"src/main/resources/dir-with-dot-file/" );
+try {
+    File resources = new File(basedir, "src/main/resources/dir-with-dot-file/")
 
-    if ( !resources.mkdirs() ) {
-      System.out.println ( "Failed to create dir-with-dot-file folder." );
-      result = false;
+    if (!resources.mkdirs()) {
+        System.out.println("Failed to create dir-with-dot-file folder.")
+        result = false
     }
-    File gitIgnore = new File ( resources, ".gitignore" );
+    File gitIgnore = new File(resources, ".gitignore")
 
 
-    BufferedWriter writer;
+    BufferedWriter writer
     try {
 
-      writer = new BufferedWriter(new FileWriter(gitIgnore));
-      writer.write ("# Test for .gitignore");
-      writer.newLine();
+        writer = new BufferedWriter(new FileWriter(gitIgnore))
+        writer.write("# Test for .gitignore")
+        writer.newLine()
     }
     finally {
-      try {
-        // Close the writer regardless of what happens...
-        writer.close();
-      } catch (Exception e) {
-        e.printStackTrace();
-      }
+        try {
+            // Close the writer regardless of what happens...
+            writer.close()
+        } catch (Exception e) {
+            e.printStackTrace()
+        }
     }
-
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
-return result;
+return result
diff --git a/src/it/include-git-ignore/verify.groovy 
b/src/it/include-git-ignore/verify.groovy
index c3e8f57..bd36c63 100644
--- a/src/it/include-git-ignore/verify.groovy
+++ b/src/it/include-git-ignore/verify.groovy
@@ -18,56 +18,48 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or not a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or not a directory.")
+        return false
     }
 
-    File classes = new File( target, "classes" );
-    if ( !classes.exists() || !classes.isDirectory() )
-    {
-        System.err.println( "target/classes file is missing or not a 
directory." );
-        return false;
+    File classes = new File(target, "classes")
+    if (!classes.exists() || !classes.isDirectory()) {
+        System.err.println("target/classes file is missing or not a 
directory.")
+        return false
     }
 
-    File gitIngoreInClasses = new File ( classes, ".gitignore" );
-    if ( !gitIngoreInClasses.exists() || !gitIngoreInClasses.isFile() )
-    {
-        System.err.println( "target/classes/.gitignore file is missing." );
-        return false;
+    File gitIngoreInClasses = new File(classes, ".gitignore")
+    if (!gitIngoreInClasses.exists() || !gitIngoreInClasses.isFile()) {
+        System.err.println("target/classes/.gitignore file is missing.")
+        return false
     }
 
 
 
-    File dirWithDotFile = new File( classes, "dir-with-dot-file" );
-    if ( !dirWithDotFile.exists() || !dirWithDotFile.isDirectory() )
-    {
-        System.err.println( "target/classes/dir-with-dot-file file is missing 
or not a directory." );
-        return false;
+    File dirWithDotFile = new File(classes, "dir-with-dot-file")
+    if (!dirWithDotFile.exists() || !dirWithDotFile.isDirectory()) {
+        System.err.println("target/classes/dir-with-dot-file file is missing 
or not a directory.")
+        return false
     }
 
-    File gitIngoreInDirWithDotFile = new File ( dirWithDotFile, ".gitignore" );
-    if ( !gitIngoreInDirWithDotFile.exists() || 
!gitIngoreInDirWithDotFile.isFile() )
-    {
-        System.err.println( "target/classes/dir-with-dot-file/.gitignore file 
is missing." );
-        return false;
+    File gitIngoreInDirWithDotFile = new File(dirWithDotFile, ".gitignore")
+    if (!gitIngoreInDirWithDotFile.exists() || 
!gitIngoreInDirWithDotFile.isFile()) {
+        System.err.println("target/classes/dir-with-dot-file/.gitignore file 
is missing.")
+        return false
     }
-
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/includeEmptyDirs/verify.groovy 
b/src/it/includeEmptyDirs/verify.groovy
index 524ef3a..6394740 100644
--- a/src/it/includeEmptyDirs/verify.groovy
+++ b/src/it/includeEmptyDirs/verify.groovy
@@ -18,145 +18,126 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or not a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or not a directory.")
+        return false
     }
 
-    File classes = new File( target, "classes" );
-    if ( !classes.exists() || !classes.isDirectory() )
-    {
-        System.err.println( "target/classes file is missing or not a 
directory." );
-        return false;
+    File classes = new File(target, "classes")
+    if (!classes.exists() || !classes.isDirectory()) {
+        System.err.println("target/classes file is missing or not a 
directory.")
+        return false
     }
 
-    File emptyDir = new File( classes, "empty-dir" );
-    if ( !emptyDir.exists() || !emptyDir.isDirectory() )
-    {
-        System.err.println( "target/classes/empty-dir file is missing or not a 
directory." );
-        return false;
+    File emptyDir = new File(classes, "empty-dir")
+    if (!emptyDir.exists() || !emptyDir.isDirectory()) {
+        System.err.println("target/classes/empty-dir file is missing or not a 
directory.")
+        return false
     }
 
-    if ( emptyDir.list().length != 0 )
-    {
-        System.err.println( "target/classes/empty-dir file has child." );
-        return false;
+    if (emptyDir.list().length != 0) {
+        System.err.println("target/classes/empty-dir file has child.")
+        return false
     }
 
-    File emptyDirChild = new File( classes, "empty-dir-child" );
-    if ( !emptyDirChild.exists() || !emptyDirChild.isDirectory() )
-    {
-        System.err.println( "target/classes/empty-dir-child file is missing or 
not a directory." );
-        return false;
+    File emptyDirChild = new File(classes, "empty-dir-child")
+    if (!emptyDirChild.exists() || !emptyDirChild.isDirectory()) {
+        System.err.println("target/classes/empty-dir-child file is missing or 
not a directory.")
+        return false
     }
 
-    if ( emptyDirChild.list().length != 1 )
-    {
-        System.err.println( "target/classes/empty-dir-child file has child." );
-        return false;
+    if (emptyDirChild.list().length != 1) {
+        System.err.println("target/classes/empty-dir-child file has child.")
+        return false
     }
 
-    File child = new File( emptyDirChild, "child" );
-    if ( !child.exists() || !child.isDirectory() )
-    {
-        System.err.println( "target/classes/empty-dir-child/child file is 
missing or not a directory." );
-        return false;
+    File child = new File(emptyDirChild, "child")
+    if (!child.exists() || !child.isDirectory()) {
+        System.err.println("target/classes/empty-dir-child/child file is 
missing or not a directory.")
+        return false
     }
 
-    if ( child.list().length != 0 )
-    {
-        System.err.println( "target/classes/empty-dir-child/child file has 
child." );
-        return false;
+    if (child.list().length != 0) {
+        System.err.println("target/classes/empty-dir-child/child file has 
child.")
+        return false
     }
 
-    File someResource = new File( target, "/classes/SomeResource.txt" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "SomeResource.txt is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/classes/SomeResource.txt")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("SomeResource.txt is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
     //test:direct resolution project.version=1.0-SNAPSHOT
-    int indexOf = paramContent.indexOf( "test:direct resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    int indexOf = paramContent.indexOf("test:direct resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:direct 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
 
     //test:filter resolution project.version=1.0-SNAPSHOT
-    indexOf = paramContent.indexOf( "test:filter resolution 
project.version=1.0-SNAPSHOT" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
project.version=1.0-SNAPSHOT")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution project.version=1.0-SNAPSHOT")
+        return false
     }
 
     //test:filter direct projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter resolution projectProperty=foo-projectProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
projectProperty=foo-projectProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
projectProperty=foo-projectProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution projectProperty=foo-projectProperty-bar")
+        return false
     }
 
     //test:filter direct profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter direct 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter direct 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter direct 
profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter resolution profileProperty=foo-profileProperty-bar
-    indexOf = paramContent.indexOf( "test:filter resolution 
profileProperty=foo-profileProperty-bar" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter resolution 
profileProperty=foo-profileProperty-bar")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
resolution profileProperty=foo-profileProperty-bar")
+        return false
     }
 
     //test:filter syspropsExecutionPropsWins=fromExecProps
-    indexOf = paramContent.indexOf( "test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps" );
-      return false;
+    indexOf = paramContent.indexOf("test:filter 
syspropsExecutionPropsWins=fromExecProps")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains test:filter 
syspropsExecutionPropsWins=fromExecProps")
+        return false
     }
 
     //newToken=foo
-    indexOf = paramContent.indexOf( "newToken=foo" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "SomeResource.txt not contains newToken=foo" );
-      return false;
+    indexOf = paramContent.indexOf("newToken=foo")
+    if (indexOf < 0) {
+        System.err.println("SomeResource.txt not contains newToken=foo")
+        return false
     }
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/profile-override/prebuild.groovy 
b/src/it/profile-override/prebuild.groovy
index 18fb7af..ebc74ae 100644
--- a/src/it/profile-override/prebuild.groovy
+++ b/src/it/profile-override/prebuild.groovy
@@ -18,10 +18,10 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-File conf = new File( basedir, "src/main/resources/test/config.properties" );
-conf.setLastModified( System.currentTimeMillis() );
+File conf = new File(basedir, "src/main/resources/test/config.properties")
+conf.setLastModified(System.currentTimeMillis())
 
diff --git a/src/it/profile-override/verify.groovy 
b/src/it/profile-override/verify.groovy
index 79545d2..e0c46e6 100644
--- a/src/it/profile-override/verify.groovy
+++ b/src/it/profile-override/verify.groovy
@@ -18,43 +18,36 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-import org.codehaus.plexus.util.*;
+import org.codehaus.plexus.util.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("target file is missing or a directory.")
+        return false
     }
 
-    File someResource = new File( target, "/classes/config.properties" );
-    if ( !someResource.exists() || someResource.isDirectory() )
-    {
-        System.err.println( "config.properties is missing or not a file." );
-        return false;
+    File someResource = new File(target, "/classes/config.properties")
+    if (!someResource.exists() || someResource.isDirectory()) {
+        System.err.println("config.properties is missing or not a file.")
+        return false
     }
 
-    String paramContent = FileUtils.fileRead( someResource );
+    String paramContent = FileUtils.fileRead(someResource)
 
-    int indexOf = paramContent.indexOf( "env=production" );
-    if ( indexOf < 0 )
-    {
-      System.err.println( "config.properties not contains env=production" );
-      return false;
+    int indexOf = paramContent.indexOf("env=production")
+    if (indexOf < 0) {
+        System.err.println("config.properties not contains env=production")
+        return false
     }
-
-
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/skip-yes/verify.groovy b/src/it/skip-yes/verify.groovy
index d35f5e3..f26d9a6 100644
--- a/src/it/skip-yes/verify.groovy
+++ b/src/it/skip-yes/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-def buildLogFile = new File( basedir, "build.log");
+def buildLogFile = new File(basedir, "build.log")
 
 assert buildLogFile.text.contains("Skipping the execution.")
-return true;
+return true
diff --git a/src/it/user-filters/verify.groovy 
b/src/it/user-filters/verify.groovy
index c4e343d..9cd9538 100644
--- a/src/it/user-filters/verify.groovy
+++ b/src/it/user-filters/verify.groovy
@@ -16,11 +16,11 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'module/target/classes/foo.txt').exists();
+assert new File(basedir, 'module/target/classes/foo.txt').exists()
 
-content = new File(basedir, 'module/target/classes/foo.txt').text;
-assert content.contains( 'foo');
-assert content.contains( 'version=1.0.16-SNAPSHOT');
-assert content.contains( 'toto=titi');
+content = new File(basedir, 'module/target/classes/foo.txt').text
+assert content.contains('foo')
+assert content.contains('version=1.0.16-SNAPSHOT')
+assert content.contains('toto=titi')
 
-return true;
\ No newline at end of file
+return true
\ No newline at end of file

Reply via email to