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

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

commit e9ae97175bf55b12053f5af3939d038ea773291c
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 21:44:39 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/projects/MJAVADOC-110/verify.groovy         |  8 +--
 src/it/projects/MJAVADOC-126/verify.groovy         | 12 ++--
 .../MJAVADOC-134_multiaggregate/verify.groovy      | 58 +++++++++----------
 src/it/projects/MJAVADOC-137_jar/verify.groovy     | 21 +++----
 src/it/projects/MJAVADOC-172/verify.groovy         | 10 ++--
 src/it/projects/MJAVADOC-180/verify.groovy         | 10 ++--
 src/it/projects/MJAVADOC-181/verify.groovy         | 61 +++++++++-----------
 src/it/projects/MJAVADOC-194/verify.groovy         | 16 +++---
 src/it/projects/MJAVADOC-257/verify.groovy         | 25 ++++-----
 src/it/projects/MJAVADOC-259/verify.groovy         | 14 ++---
 src/it/projects/MJAVADOC-320/verify.groovy         | 12 ++--
 .../MJAVADOC-338_downloadSources/verify.groovy     | 32 +++++++----
 src/it/projects/MJAVADOC-369/verify.groovy         | 10 ++--
 src/it/projects/MJAVADOC-407/verify.groovy         |  4 +-
 src/it/projects/MJAVADOC-414/verify.groovy         | 12 ++--
 src/it/projects/MJAVADOC-427/setup.groovy          | 12 ++--
 src/it/projects/MJAVADOC-427/verify.groovy         | 20 ++++---
 src/it/projects/MJAVADOC-437/verify.groovy         |  8 ++-
 src/it/projects/MJAVADOC-444/verify.groovy         | 10 ++--
 .../MJAVADOC-449_aggr_modulepath/verify.groovy     | 34 +++++------
 .../verify.groovy                                  |  8 +--
 .../MJAVADOC-450_classifier-jdk-23/verify.groovy   |  8 +--
 .../projects/MJAVADOC-450_classifier/verify.groovy |  6 +-
 .../MJAVADOC-495_offline-filescheme/verify.groovy  | 14 +++--
 src/it/projects/MJAVADOC-497/verify.groovy         | 16 +++---
 .../projects/MJAVADOC-498_modulepath/verify.groovy |  4 +-
 .../MJAVADOC-506_excl-module-info/verify.groovy    |  8 +--
 src/it/projects/MJAVADOC-528/verify.groovy         |  4 +-
 src/it/projects/MJAVADOC-538/verify.groovy         |  4 +-
 .../projects/MJAVADOC-555_aggr_mixed/verify.groovy | 34 +++++------
 .../verify.groovy                                  | 20 ++++---
 .../projects/MJAVADOC-567_aggr-mixed/verify.groovy | 24 ++++----
 .../MJAVADOC-575_source8-module-info/verify.groovy |  2 +-
 .../MJAVADOC-580_detectLinks/verify.groovy         | 20 +++----
 .../MJAVADOC-592_detectApiLink/verify.groovy       |  4 +-
 src/it/projects/MJAVADOC-599/verify.groovy         |  2 +-
 src/it/projects/MJAVADOC-610_mrjar/verify.groovy   |  6 +-
 .../MJAVADOC-613-aggregate-exclude/verify.groovy   | 20 +++----
 .../MJAVADOC-618_modular-war/verify.groovy         |  6 +-
 src/it/projects/MJAVADOC-620/verify.groovy         |  4 +-
 .../verify.groovy                                  |  4 +-
 .../MJAVADOC-639_requires_ignored/verify.groovy    | 30 +++++-----
 src/it/projects/MJAVADOC-642/verify.groovy         |  2 +-
 src/it/projects/MJAVADOC-661_mrjar/verify.groovy   |  6 +-
 src/it/projects/MJAVADOC-679_encoding/setup.groovy |  4 +-
 .../projects/MJAVADOC-704_toolchains/verify.groovy |  8 +--
 src/it/projects/MJAVADOC-770/verify.groovy         |  2 +-
 src/it/projects/MJAVADOC-823/verify.groovy         |  8 +--
 .../verify.groovy                                  | 65 ++++++++++------------
 .../projects/additional-dependencies/verify.groovy | 65 ++++++++++------------
 src/it/projects/dependencySource-1/verify.groovy   | 12 ++--
 src/it/projects/dependencySource-2/verify.groovy   | 12 ++--
 src/it/projects/dependencySource-3/verify.groovy   | 12 ++--
 src/it/projects/dependencySource-4/verify.groovy   | 12 ++--
 src/it/projects/detectLinks/verify.groovy          | 22 ++++----
 .../examples/alternate-doclet/verify.groovy        | 10 +++-
 .../examples/exclude-package-names/verify.groovy   | 18 +++---
 src/it/projects/output-encoding/verify.groovy      | 56 +++++++++----------
 src/it/projects/reproducible/verify.groovy         | 45 +++++++--------
 src/it/projects/site-failOnError/verify.groovy     | 10 ++--
 60 files changed, 501 insertions(+), 505 deletions(-)

diff --git a/src/it/projects/MJAVADOC-110/verify.groovy 
b/src/it/projects/MJAVADOC-110/verify.groovy
index b4bd978a..eb8eb51c 100644
--- a/src/it/projects/MJAVADOC-110/verify.groovy
+++ b/src/it/projects/MJAVADOC-110/verify.groovy
@@ -18,13 +18,13 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File target = new File( basedir, "target" );
+File target = new File(basedir, "target")
 assert target.exists() && target.isDirectory() : "target file is missing or a 
directory."
 
-File apidocs = new File( target, "reports/apidocs" );
+File apidocs = new File( target, "reports/apidocs" )
 assert apidocs.exists() && apidocs.isDirectory() : "target/reports/apidocs 
file is missing or a directory."
 
-File htmlFile = new File( apidocs, "Test.html" );
+File htmlFile = new File( apidocs, "Test.html" )
 assert htmlFile.isFile() : "target/reports/apidocs/Test.html file is missing 
or a a file."
diff --git a/src/it/projects/MJAVADOC-126/verify.groovy 
b/src/it/projects/MJAVADOC-126/verify.groovy
index ecf6e293..fcec19db 100644
--- a/src/it/projects/MJAVADOC-126/verify.groovy
+++ b/src/it/projects/MJAVADOC-126/verify.groovy
@@ -18,19 +18,19 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File target = new File( basedir, "test/target" );
+File target = new File(basedir, "test/target")
 assert target.isDirectory() : "target is missing or not a directory."
 
-File apidocs = new File( basedir, "test/target/reports/apidocs" );
+File apidocs = new File( basedir, "test/target/reports/apidocs" )
 assert apidocs.isDirectory() : apidocs.getAbsolutePath() + " is missing or not 
a directory."
 
-File file1 = new File( apidocs, "file1.txt" );
+File file1 = new File( apidocs, "file1.txt" )
 assert file1.isFile() : file1.getAbsolutePath() + " is missing or a directory."
 
-File file2 = new File( apidocs, "file2.txt" );
+File file2 = new File( apidocs, "file2.txt" )
 assert file2.isFile() : file2.getAbsolutePath() + " is missing or a directory."
 
-File metainf = new File( apidocs, "META-INF" );
+File metainf = new File( apidocs, "META-INF" )
 assert !metainf.isDirectory() : metainf.getAbsolutePath() + " exists."
diff --git a/src/it/projects/MJAVADOC-134_multiaggregate/verify.groovy 
b/src/it/projects/MJAVADOC-134_multiaggregate/verify.groovy
index c2709c3e..34f718ad 100644
--- a/src/it/projects/MJAVADOC-134_multiaggregate/verify.groovy
+++ b/src/it/projects/MJAVADOC-134_multiaggregate/verify.groovy
@@ -17,44 +17,44 @@
  * under the License.
  */
 
-// A 
-assert new File( basedir, 'target/site/apidocs/a/b/c/d/D1.html').exists()
-assert new File( basedir, 'target/site/apidocs/a/b/c/d/D2.html').exists()
-assert new File( basedir, 'target/site/apidocs/a/b/e/E.html').exists()
-assert new File( basedir, 'target/site/apidocs/a/f/F.html').exists()
+// A
+assert new File(basedir, 'target/site/apidocs/a/b/c/d/D1.html').exists()
+assert new File(basedir, 'target/site/apidocs/a/b/c/d/D2.html').exists()
+assert new File(basedir, 'target/site/apidocs/a/b/e/E.html').exists()
+assert new File(basedir, 'target/site/apidocs/a/f/F.html').exists()
 
 // B
-assert new File( basedir, 'b/target/site/apidocs/a/b/c/d/D1.html').exists()
-assert new File( basedir, 'b/target/site/apidocs/a/b/c/d/D2.html').exists()
-assert new File( basedir, 'b/target/site/apidocs/a/b/e/E.html').exists()
-assert !(new File( basedir, 'b/target/site/apidocs/a/f/F.html').exists())
+assert new File(basedir, 'b/target/site/apidocs/a/b/c/d/D1.html').exists()
+assert new File(basedir, 'b/target/site/apidocs/a/b/c/d/D2.html').exists()
+assert new File(basedir, 'b/target/site/apidocs/a/b/e/E.html').exists()
+assert !(new File(basedir, 'b/target/site/apidocs/a/f/F.html').exists())
 
 // C
-assert new File( basedir, 'b/c/target/site/apidocs/a/b/c/d/D1.html').exists()
-assert new File( basedir, 'b/c/target/site/apidocs/a/b/c/d/D2.html').exists()
-assert !(new File( basedir, 'b/c/target/site/apidocs/a/b/e/E.html').exists())
-assert !(new File( basedir, 'b/c/target/site/apidocs/a/f/F.html').exists())
+assert new File(basedir, 'b/c/target/site/apidocs/a/b/c/d/D1.html').exists()
+assert new File(basedir, 'b/c/target/site/apidocs/a/b/c/d/D2.html').exists()
+assert !(new File(basedir, 'b/c/target/site/apidocs/a/b/e/E.html').exists())
+assert !(new File(basedir, 'b/c/target/site/apidocs/a/f/F.html').exists())
 
 // D1
-assert new File( basedir, 
'b/c/d1/target/site/apidocs/a/b/c/d/D1.html').exists()
-assert !(new File( basedir, 
'b/c/d1/target/site/apidocs/a/b/c/d/D2.html').exists())
-assert !(new File( basedir, 
'b/c/d1/target/site/apidocs/a/b/e/E.html').exists())
-assert !(new File( basedir, 'b/c/d1/target/site/apidocs/a/f/F.html').exists())
+assert new File(basedir, 'b/c/d1/target/site/apidocs/a/b/c/d/D1.html').exists()
+assert !(new File(basedir, 
'b/c/d1/target/site/apidocs/a/b/c/d/D2.html').exists())
+assert !(new File(basedir, 'b/c/d1/target/site/apidocs/a/b/e/E.html').exists())
+assert !(new File(basedir, 'b/c/d1/target/site/apidocs/a/f/F.html').exists())
 
 // D2
-assert !(new File( basedir, 
'b/c/d2/target/site/apidocs/a/b/c/d/D1.html').exists())
-assert new File( basedir, 
'b/c/d2/target/site/apidocs/a/b/c/d/D2.html').exists()
-assert !(new File( basedir, 
'b/c/d2/target/site/apidocs/a/b/e/E.html').exists())
-assert !(new File( basedir, 'b/c/d2/target/site/apidocs/a/f/F.html').exists())
+assert !(new File(basedir, 
'b/c/d2/target/site/apidocs/a/b/c/d/D1.html').exists())
+assert new File(basedir, 'b/c/d2/target/site/apidocs/a/b/c/d/D2.html').exists()
+assert !(new File(basedir, 'b/c/d2/target/site/apidocs/a/b/e/E.html').exists())
+assert !(new File(basedir, 'b/c/d2/target/site/apidocs/a/f/F.html').exists())
 
 // E
-assert !(new File( basedir, 
'b/e/target/site/apidocs/a/b/c/d/D1.html').exists())
-assert !(new File( basedir, 
'b/e/target/site/apidocs/a/b/c/d/D2.html').exists())
-assert new File( basedir, 'b/e/target/site/apidocs/a/b/e/E.html').exists()
-assert !(new File( basedir, 'b/e/target/site/apidocs/a/f/F.html').exists())
+assert !(new File(basedir, 'b/e/target/site/apidocs/a/b/c/d/D1.html').exists())
+assert !(new File(basedir, 'b/e/target/site/apidocs/a/b/c/d/D2.html').exists())
+assert new File(basedir, 'b/e/target/site/apidocs/a/b/e/E.html').exists()
+assert !(new File(basedir, 'b/e/target/site/apidocs/a/f/F.html').exists())
 
 // F
-assert !(new File( basedir, 'f/target/site/apidocs/a/b/c/d/D1.html').exists())
-assert !(new File( basedir, 'f/target/site/apidocs/a/b/c/d/D2.html').exists())
-assert !(new File( basedir, 'f/target/site/apidocs/a/b/e/E.html').exists())
-assert new File( basedir, 'f/target/site/apidocs/a/f/F.html').exists()
+assert !(new File(basedir, 'f/target/site/apidocs/a/b/c/d/D1.html').exists())
+assert !(new File(basedir, 'f/target/site/apidocs/a/b/c/d/D2.html').exists())
+assert !(new File(basedir, 'f/target/site/apidocs/a/b/e/E.html').exists())
+assert new File(basedir, 'f/target/site/apidocs/a/f/F.html').exists()
diff --git a/src/it/projects/MJAVADOC-137_jar/verify.groovy 
b/src/it/projects/MJAVADOC-137_jar/verify.groovy
index 92f7f6f5..6941e660 100644
--- a/src/it/projects/MJAVADOC-137_jar/verify.groovy
+++ b/src/it/projects/MJAVADOC-137_jar/verify.groovy
@@ -20,27 +20,24 @@
 
 import java.util.jar.*
 
-File target1 = new File( basedir, 
'test1/target/test1-1.0-SNAPSHOT-javadoc.jar' )
+File target1 = new File(basedir, 'test1/target/test1-1.0-SNAPSHOT-javadoc.jar')
 assert target1.exists()
 
-File target2 = new File( basedir, 
'test2/target/test2-1.0-SNAPSHOT-javadoc.jar' )
+File target2 = new File(basedir, 'test2/target/test2-1.0-SNAPSHOT-javadoc.jar')
 assert target2.exists()
 
-JarFile jar = new JarFile( target1 )
+JarFile jar = new JarFile(target1)
 Enumeration jarEntries = jar.entries()
 long timestamp = -1
-while ( jarEntries.hasMoreElements() )
-{
+while (jarEntries.hasMoreElements()) {
     JarEntry entry = (JarEntry) jarEntries.nextElement()
-    if ( timestamp == -1 )
-    {
-        timestamp = entry.getTime(); // reproducible timestamp in jar file 
cause local timestamp depending on timezone
+    if (timestamp == -1) {
+        timestamp = entry.getTime() // reproducible timestamp in jar file 
cause local timestamp depending on timezone
     }
     assert entry.getTime() == timestamp
 }
-jarEntries = new JarFile( target1 ).entries()
-while ( jarEntries.hasMoreElements() )
-{
+jarEntries = new JarFile(target1).entries()
+while (jarEntries.hasMoreElements()) {
     JarEntry entry = (JarEntry) jarEntries.nextElement()
-       assert entry.getTime() == timestamp
+    assert entry.getTime() == timestamp
 }
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-172/verify.groovy 
b/src/it/projects/MJAVADOC-172/verify.groovy
index 54fe5046..f244aa53 100644
--- a/src/it/projects/MJAVADOC-172/verify.groovy
+++ b/src/it/projects/MJAVADOC-172/verify.groovy
@@ -18,17 +18,17 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File target = new File( basedir, "target" );
+File target = new File(basedir, "target")
 assert target.exists() && target.isDirectory() : "target file is missing or a 
directory."
 
-File apidocs = new File( basedir, "target/reports/apidocs" );
+File apidocs = new File( basedir, "target/reports/apidocs" )
 assert apidocs.exists() && apidocs.isDirectory() : "target/reports/apidocs 
file is missing or a directory."
 
-File options = new File( apidocs, "options" );
+File options = new File( apidocs, "options" )
 assert options.exists() && options.isFile() : "target/reports/apidocs/options 
file is missing or not a file."
 
-String str = options.getText( 'UTF-8' );
+String str = options.getText( 'UTF-8' )
 
 assert str.contains( "junit-4.13.1.jar" ) : "Javadoc doesn't used correct 
artifacts."
diff --git a/src/it/projects/MJAVADOC-180/verify.groovy 
b/src/it/projects/MJAVADOC-180/verify.groovy
index 00bffe0f..8d735c8d 100644
--- a/src/it/projects/MJAVADOC-180/verify.groovy
+++ b/src/it/projects/MJAVADOC-180/verify.groovy
@@ -18,16 +18,16 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File target = new File( basedir, "target" );
+File target = new File(basedir, "target")
 assert target.exists() && target.isDirectory() : "target file is missing or a 
directory."
 
-File testapidocs = new File( basedir, "target/reports/testapidocs" );
+File testapidocs = new File( basedir, "target/reports/testapidocs" )
 assert testapidocs.exists() && testapidocs.isDirectory() : 
"target/reports/testapidocs file is missing or a directory."
 
-File options = new File( testapidocs, "options" );
+File options = new File( testapidocs, "options" )
 assert options.exists() && options.isFile() : 
"target/reports/testapidocs/options file is missing or not a file."
 
-File index = new File( testapidocs, "index.html" );
+File index = new File( testapidocs, "index.html" )
 assert index.exists() && index.isFile() : 
"target/reports/testapidocs/index.html file is missing or not a file."
diff --git a/src/it/projects/MJAVADOC-181/verify.groovy 
b/src/it/projects/MJAVADOC-181/verify.groovy
index e325acdf..2af6570b 100644
--- a/src/it/projects/MJAVADOC-181/verify.groovy
+++ b/src/it/projects/MJAVADOC-181/verify.groovy
@@ -18,50 +18,43 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
+try {
     // Generated files checks
-    File apidocs = new File( basedir, "application/target/reports/apidocs" );
-    if ( !apidocs.isDirectory() )
-    {
-        System.err.println( apidocs.getAbsolutePath() + " dir is missing or a 
directory." );
-        return false;
+    File apidocs = new File(basedir, "application/target/reports/apidocs")
+    if (!apidocs.isDirectory()) {
+        System.err.println(apidocs.getAbsolutePath() + " dir is missing or a 
directory.")
+        return false
     }
-    apidocs = new File( basedir, "library/module-a/target/reports/apidocs" );
-    if ( !apidocs.isDirectory() )
-    {
-        System.err.println( apidocs.getAbsolutePath() + " dir is missing or a 
directory." );
-        return false;
+    apidocs = new File(basedir, "library/module-a/target/reports/apidocs")
+    if (!apidocs.isDirectory()) {
+        System.err.println(apidocs.getAbsolutePath() + " dir is missing or a 
directory.")
+        return false
     }
-    apidocs = new File( basedir, "library/module-b/target/reports/apidocs" );
-    if ( !apidocs.isDirectory() )
-    {
-        System.err.println( apidocs.getAbsolutePath() + " dir is missing or a 
directory." );
-        return false;
+    apidocs = new File(basedir, "library/module-b/target/reports/apidocs")
+    if (!apidocs.isDirectory()) {
+        System.err.println(apidocs.getAbsolutePath() + " dir is missing or a 
directory.")
+        return false
     }
 
     // Not existing files
-    apidocs = new File( basedir, "target/reports/apidocs" );
-    if ( apidocs.exists() )
-    {
-        System.err.println( apidocs.getAbsolutePath() + " has been generated." 
);
-        return false;
+    apidocs = new File(basedir, "target/reports/apidocs")
+    if (apidocs.exists()) {
+        System.err.println(apidocs.getAbsolutePath() + " has been generated.")
+        return false
     }
-    apidocs = new File( basedir, "library/target/reports/apidocs" );
-    if ( apidocs.exists() )
-    {
-        System.err.println( apidocs.getAbsolutePath() + " has been generated." 
);
-        return false;
+    apidocs = new File(basedir, "library/target/reports/apidocs")
+    if (apidocs.exists()) {
+        System.err.println(apidocs.getAbsolutePath() + " has been generated.")
+        return false
     }
 }
-catch( RuntimeException e )
-{
-    e.printStackTrace();
-    return false;
+catch(RuntimeException e) {
+    e.printStackTrace()
+    return false
 }
 
-return result;
+return result
diff --git a/src/it/projects/MJAVADOC-194/verify.groovy 
b/src/it/projects/MJAVADOC-194/verify.groovy
index bc2487fc..becf81fd 100644
--- a/src/it/projects/MJAVADOC-194/verify.groovy
+++ b/src/it/projects/MJAVADOC-194/verify.groovy
@@ -18,25 +18,25 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File target = new File( basedir, "target" );
+File target = new File(basedir, "target")
 assert target.exists() && target.isDirectory() : "target file is missing or a 
directory."
 
-File apidocs = new File( basedir, "target/reports/apidocs" );
+File apidocs = new File( basedir, "target/reports/apidocs" )
 assert apidocs.exists() && apidocs.isDirectory() : "target/reports/apidocs 
file is missing or a directory."
 
-File index = new File( apidocs, "index.html" );
+File index = new File( apidocs, "index.html" )
 assert index.exists() && index.isFile() : "target/reports/apidocs/index.html 
file is missing or not a file."
 
-File test1 = new File( apidocs, "test/Test1.html" );
+File test1 = new File( apidocs, "test/Test1.html" )
 assert test1.exists() && test1.isFile() : 
"target/reports/apidocs/test/Test1.html file is missing or not a file."
 
-File test2 = new File( apidocs, "test/Test2.html" );
+File test2 = new File( apidocs, "test/Test2.html" )
 assert test2.exists() && test2.isFile() : 
"target/reports/apidocs/test/Test2.html file is missing or not a file."
 
-File generatedTest1 = new File( apidocs, "test/GeneratedTest1.html" );
+File generatedTest1 = new File( apidocs, "test/GeneratedTest1.html" )
 assert generatedTest1.exists() && generatedTest1.isFile() : 
"target/reports/apidocs/test/GeneratedTest1.html file is missing or not a file."
 
-File generatedTest2 = new File( apidocs, "test/GeneratedTest2.html" );
+File generatedTest2 = new File( apidocs, "test/GeneratedTest2.html" )
 assert generatedTest2.exists() && generatedTest2.isFile() : 
"target/reports/apidocs/test/GeneratedTest2.html file is missing or not a file."
diff --git a/src/it/projects/MJAVADOC-257/verify.groovy 
b/src/it/projects/MJAVADOC-257/verify.groovy
index 73d93200..ed0cdb57 100644
--- a/src/it/projects/MJAVADOC-257/verify.groovy
+++ b/src/it/projects/MJAVADOC-257/verify.groovy
@@ -18,24 +18,21 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
+try {
     // Generated files checks
-    File apidocs = new File( basedir, "target/site/apidocs" );
-    if ( !apidocs.exists() || !apidocs.isDirectory() )
-    {
-        System.err.println( apidocs.getAbsolutePath() + " dir is missing or a 
directory." );
-        return false;
+    File apidocs = new File(basedir, "target/site/apidocs")
+    if (!apidocs.exists() || !apidocs.isDirectory()) {
+        System.err.println(apidocs.getAbsolutePath() + " dir is missing or a 
directory.")
+        return false
     }
 }
-catch( RuntimeException e )
-{
-    e.printStackTrace();
-    return false;
+catch(RuntimeException e) {
+    e.printStackTrace()
+    return false
 }
 
-return result;
+return result
diff --git a/src/it/projects/MJAVADOC-259/verify.groovy 
b/src/it/projects/MJAVADOC-259/verify.groovy
index e5a4191b..43f34029 100644
--- a/src/it/projects/MJAVADOC-259/verify.groovy
+++ b/src/it/projects/MJAVADOC-259/verify.groovy
@@ -18,21 +18,21 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // Generated files checks
-File apidocs = new File( basedir, "target/site/apidocs" );
+File apidocs = new File(basedir, "target/site/apidocs")
 assert apidocs.isDirectory() : apidocs.getAbsolutePath() + " dir is missing or 
a directory."
 
-File resourcesDir = new File( apidocs, "resources" );
+File resourcesDir = new File( apidocs, "resources" )
 assert resourcesDir.isDirectory() : resourcesDir.getAbsolutePath() + " dir is 
missing or a directory."
 
-File inheritSrc = new File( basedir, "src/main/javadoc/resources/inherit.gif" 
);
-File inheritTarget = new File( resourcesDir, "inherit.gif" );
+File inheritSrc = new File( basedir, "src/main/javadoc/resources/inherit.gif" )
+File inheritTarget = new File( resourcesDir, "inherit.gif" )
 assert inheritTarget.isFile() : inheritTarget.getAbsolutePath() + " file is 
missing or a file."
 assert inheritSrc.length() == inheritTarget.length() : "inherit.gif seems not 
copied."
 
-File docFiles = new File( apidocs, "com/mycompany/myapp/doc-files" );
+File docFiles = new File( apidocs, "com/mycompany/myapp/doc-files" )
 assert docFiles.isDirectory() : docFiles.getAbsolutePath() + " dir is missing 
or a directory."
-resourcesDir = new File( apidocs, "com/mycompany/myapp/resources" );
+resourcesDir = new File( apidocs, "com/mycompany/myapp/resources" )
 assert !resourcesDir.isDirectory() : resourcesDir.getAbsolutePath() + " dir 
exists."
diff --git a/src/it/projects/MJAVADOC-320/verify.groovy 
b/src/it/projects/MJAVADOC-320/verify.groovy
index b29f53f7..36e3da58 100644
--- a/src/it/projects/MJAVADOC-320/verify.groovy
+++ b/src/it/projects/MJAVADOC-320/verify.groovy
@@ -18,31 +18,31 @@
  * under the License.
  */
 
-File target = new File( basedir, "module2/target" );
+File target = new File(basedir, "module2/target")
 assert target.exists()
 assert target.isDirectory()
 
-File apidocs = new File( target, "reports/apidocs" );
+File apidocs = new File(target, "reports/apidocs")
 assert apidocs.exists()
 assert apidocs.isDirectory()
 
 // module3 must be included
-File module3File = new File( apidocs, 
"org/apache/maven/plugin/javadoc/it/Module3Class.html" );
+File module3File = new File(apidocs, 
"org/apache/maven/plugin/javadoc/it/Module3Class.html")
 assert module3File.exists()
 assert module3File.isFile()
 
 // el-api must be included
-File elApiFile = new File( apidocs, "javax/el/ValueExpression.html" );
+File elApiFile = new File(apidocs, "javax/el/ValueExpression.html")
 assert elApiFile.exists()
 assert elApiFile.isFile()
 
 // module1 must NOT be included
-File module1File = new File( apidocs, 
"org/apache/maven/plugin/javadoc/it/Module1Class.html" );
+File module1File = new File(apidocs, 
"org/apache/maven/plugin/javadoc/it/Module1Class.html")
 assert !module1File.exists()
 assert !module1File.isFile()
 
 // servlet-api must NOT be included
-File servletSpecFile = new File( apidocs, "javax/servlet/ServletContext.html" 
);
+File servletSpecFile = new File(apidocs, "javax/servlet/ServletContext.html")
 assert !servletSpecFile.exists()
 assert !servletSpecFile.isFile()
 
diff --git a/src/it/projects/MJAVADOC-338_downloadSources/verify.groovy 
b/src/it/projects/MJAVADOC-338_downloadSources/verify.groovy
index fb603779..c20c06d8 100644
--- a/src/it/projects/MJAVADOC-338_downloadSources/verify.groovy
+++ b/src/it/projects/MJAVADOC-338_downloadSources/verify.groovy
@@ -16,21 +16,31 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- // NOOO never from central
+// NOOO never from central
 
 def buildLog = new File(basedir,'build.log')
 
-if ( mavenVersion ==~ /3\.[0-3]\..*/ )
-{
-  assert 1 == buildLog.readLines().count{it ==~ /\[INFO\] Downloading\: 
.+\/mjavadoc338-direct-1\.0-sources\.jar/} 
-  assert 1 == buildLog.readLines().count{it ==~ /\[INFO\] Downloading\: 
.+\/mjavadoc338-direct-1\.0-javadoc-resources\.jar/} 
+if (mavenVersion ==~ /3\.[0-3]\..*/) {
+    assert 1 == buildLog.readLines().count{
+        it ==~ /\[INFO\] Downloading\: 
.+\/mjavadoc338-direct-1\.0-sources\.jar/
+    }
+    assert 1 == buildLog.readLines().count{
+        it ==~ /\[INFO\] Downloading\: 
.+\/mjavadoc338-direct-1\.0-javadoc-resources\.jar/
+    }
 }
-else
-{
-  assert 1 == buildLog.readLines().count{it ==~ /\[INFO\] Downloading from 
mrm-maven-plugin\: .+\/mjavadoc338-direct-1\.0-sources\.jar/} 
-  assert 1 == buildLog.readLines().count{it ==~ /\[INFO\] Downloading from 
mrm-maven-plugin\: .+\/mjavadoc338-direct-1\.0-javadoc-resources\.jar/} 
+else {
+    assert 1 == buildLog.readLines().count{
+        it ==~ /\[INFO\] Downloading from mrm-maven-plugin\: 
.+\/mjavadoc338-direct-1\.0-sources\.jar/
+    }
+    assert 1 == buildLog.readLines().count{
+        it ==~ /\[INFO\] Downloading from mrm-maven-plugin\: 
.+\/mjavadoc338-direct-1\.0-javadoc-resources\.jar/
+    }
 }
 
 
-assert !buildLog.readLines().any{it ==~ /\[INFO\] Downloading from 
.+\/mjavadoc338-transitive-1\.0-sources\.jar/} 
-assert !buildLog.readLines().any{it ==~ /\[INFO\] Downloading from 
.+\/mjavadoc338-transitive-1\.0-javadoc-resources\.jar/} 
+assert !buildLog.readLines().any{
+    it ==~ /\[INFO\] Downloading from 
.+\/mjavadoc338-transitive-1\.0-sources\.jar/
+}
+assert !buildLog.readLines().any{
+    it ==~ /\[INFO\] Downloading from 
.+\/mjavadoc338-transitive-1\.0-javadoc-resources\.jar/
+}
diff --git a/src/it/projects/MJAVADOC-369/verify.groovy 
b/src/it/projects/MJAVADOC-369/verify.groovy
index 162838ae..1bdf5075 100644
--- a/src/it/projects/MJAVADOC-369/verify.groovy
+++ b/src/it/projects/MJAVADOC-369/verify.groovy
@@ -18,13 +18,13 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File indexFile = new File( basedir, "target/site/apidocs/index.html" );
+File indexFile = new File(basedir, "target/site/apidocs/index.html")
 
 assert indexFile.exists() : indexFile.getAbsolutePath() + " is missing."
 
-File buildLog = new File( basedir, "build.log" );
-String content = buildLog.getText( 'UTF-8' );
-String needle = ">>> maven-javadoc-plugin";
+File buildLog = new File( basedir, "build.log" )
+String content = buildLog.getText( 'UTF-8' )
+String needle = ">>> maven-javadoc-plugin"
 assert !content.contains( needle ) : "build.log contains '" + needle + "'"
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-407/verify.groovy 
b/src/it/projects/MJAVADOC-407/verify.groovy
index b60fa86d..213e3698 100644
--- a/src/it/projects/MJAVADOC-407/verify.groovy
+++ b/src/it/projects/MJAVADOC-407/verify.groovy
@@ -18,8 +18,8 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File javadocFile = new File( basedir, "target/reports/apidocs/foo/Bar.html" );
+File javadocFile = new File(basedir, "target/reports/apidocs/foo/Bar.html")
 
 assert javadocFile.exists() : javadocFile.getAbsolutePath() + " is missing."
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-414/verify.groovy 
b/src/it/projects/MJAVADOC-414/verify.groovy
index 71fb2da5..0431f01e 100644
--- a/src/it/projects/MJAVADOC-414/verify.groovy
+++ b/src/it/projects/MJAVADOC-414/verify.groovy
@@ -18,16 +18,16 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File indexFile = new File( basedir, 
"target/reports/testapidocs/mjavadoc414/test/AppTest.html" );
+File indexFile = new File(basedir, 
"target/reports/testapidocs/mjavadoc414/test/AppTest.html")
 
 assert indexFile.exists() : indexFile.getAbsolutePath() + " is missing."
 
-File buildLog = new File( basedir, "build.log" );
-String content = buildLog.getText( 'UTF-8' );
-String importError = "error: cannot find symbol";
+File buildLog = new File( basedir, "build.log" )
+String content = buildLog.getText( 'UTF-8' )
+String importError = "error: cannot find symbol"
 assert !content.contains( importError ) : "build.log contains '" + importError 
+ "'"
 
-String referenceWarning = "Tag @link: reference not found: mjavadoc414.App";
+String referenceWarning = "Tag @link: reference not found: mjavadoc414.App"
 assert !content.contains( referenceWarning ) : "build.log contains '" + 
referenceWarning + "'"
diff --git a/src/it/projects/MJAVADOC-427/setup.groovy 
b/src/it/projects/MJAVADOC-427/setup.groovy
index 06f26aec..62d15779 100644
--- a/src/it/projects/MJAVADOC-427/setup.groovy
+++ b/src/it/projects/MJAVADOC-427/setup.groovy
@@ -67,12 +67,12 @@ if (!pomContent.contains('__MJAVADOC_427_PORT__')) {
 HttpServer server = HttpServer.create(new InetSocketAddress(0), 0)
 int port = server.address.port
 server.executor = Executors.newFixedThreadPool(2, new ThreadFactory() {
-    Thread newThread(Runnable r) {
-        Thread t = new Thread(r, "mjavadoc-427-mock-" + 
System.identityHashCode(r))
-        t.daemon = true
-        t
-    }
-})
+            Thread newThread(Runnable r) {
+                Thread t = new Thread(r, "mjavadoc-427-mock-" + 
System.identityHashCode(r))
+                t.daemon = true
+                t
+            }
+        })
 
 // Hit log: each handler appends one line per request so verify.groovy can
 // directly assert that both the base URL and the redirected URL were
diff --git a/src/it/projects/MJAVADOC-427/verify.groovy 
b/src/it/projects/MJAVADOC-427/verify.groovy
index 21d91b7e..804ad044 100644
--- a/src/it/projects/MJAVADOC-427/verify.groovy
+++ b/src/it/projects/MJAVADOC-427/verify.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-def file = new File( basedir, 'target/reports/apidocs/mjavadoc427/App.html' );
+def file = new File(basedir, 'target/reports/apidocs/mjavadoc427/App.html')
 
 assert file.exists()
 
@@ -34,18 +34,20 @@ assert file.text =~ /public.*?<a 
href="http:\/\/localhost:[0-9]+\/[^"]*".*?>Logg
 //     URL must have been requested. This is a stronger signal than the
 //     original IT, which only inferred redirect-following from the
 //     absence of a broken link.
-def hitsFile = new File( basedir, 'redirect-hits.log' );
+def hitsFile = new File(basedir, 'redirect-hits.log')
 assert hitsFile.exists(), "redirect-hits.log not found — setup.groovy did not 
start the mock server"
 def hits = hitsFile.readLines()
-assert hits.any { it.startsWith('base ') }, \
-    "javadoc never probed the base URL (no 'base ...' line in 
redirect-hits.log)"
-assert hits.any { it.startsWith('redirected ') }, \
-    "javadoc did not follow the 301 to /redirected/ (no 'redirected ...' line 
in redirect-hits.log)"
+assert hits.any {
+    it.startsWith('base ')
+}, "javadoc never probed the base URL (no 'base ...' line in 
redirect-hits.log)"
+assert hits.any {
+    it.startsWith('redirected ')
+}, "javadoc did not follow the 301 to /redirected/ (no 'redirected ...' line 
in redirect-hits.log)"
 
 // (3) Defensive: no 'Error fetching link' warning. That string was the
 //     canonical flake signature on CI when the plugin tried (and failed)
 //     to reach slf4j.org. It must not reappear via a stray external URL.
-def buildLog = new File( basedir, 'build.log' );
-if ( buildLog.exists() ) {
-    assert ! ( buildLog.text =~ /Error fetching link/ ), "Unexpected 'Error 
fetching link' warning in build.log"
+def buildLog = new File(basedir, 'build.log')
+if (buildLog.exists()) {
+    assert ! (buildLog.text =~ /Error fetching link/), "Unexpected 'Error 
fetching link' warning in build.log"
 }
diff --git a/src/it/projects/MJAVADOC-437/verify.groovy 
b/src/it/projects/MJAVADOC-437/verify.groovy
index f00b4aea..bfcf52f2 100644
--- a/src/it/projects/MJAVADOC-437/verify.groovy
+++ b/src/it/projects/MJAVADOC-437/verify.groovy
@@ -18,7 +18,7 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // In JDK 7, javadoc terminates with exit code 0 even when there are errors.
 // To find an error, we either have to parse the build.log generated by
@@ -31,7 +31,9 @@ import java.io.*;
 // If the package prefix is missing, we know that maven-javadoc-plugin
 // failed to resolve the classpath dependencies.
 
-File javadoc = new File( basedir, 
"target/reports/apidocs/com/example/bar/Bar.html" );
+File javadoc = new File(basedir, 
"target/reports/apidocs/com/example/bar/Bar.html")
 assert javadoc.exists() : javadoc + " is missing"
 
-assert javadoc.readLines( 'UTF-8' ).any { it.contains( "org.apache.commons.io" 
) } : "package name org.apache.commons.io not found"
+assert javadoc.readLines( 'UTF-8' ).any {
+    it.contains( "org.apache.commons.io" )
+} : "package name org.apache.commons.io not found"
diff --git a/src/it/projects/MJAVADOC-444/verify.groovy 
b/src/it/projects/MJAVADOC-444/verify.groovy
index 3ddc3df4..e5108600 100644
--- a/src/it/projects/MJAVADOC-444/verify.groovy
+++ b/src/it/projects/MJAVADOC-444/verify.groovy
@@ -18,13 +18,13 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File indexFile = new File( basedir, "target/site/apidocs/index.html" );
+File indexFile = new File(basedir, "target/site/apidocs/index.html")
 
 assert indexFile.exists() : indexFile.getAbsolutePath() + " is missing."
 
-File buildLog = new File( basedir, "build.log" );
-String content = buildLog.getText( 'UTF-8' );
-String needle = ">>> maven-javadoc-plugin";
+File buildLog = new File( basedir, "build.log" )
+String content = buildLog.getText( 'UTF-8' )
+String needle = ">>> maven-javadoc-plugin"
 assert !content.contains( needle ) : "build.log contains '" + needle + "'"
diff --git a/src/it/projects/MJAVADOC-449_aggr_modulepath/verify.groovy 
b/src/it/projects/MJAVADOC-449_aggr_modulepath/verify.groovy
index 0b179c4f..b9480a92 100644
--- a/src/it/projects/MJAVADOC-449_aggr_modulepath/verify.groovy
+++ b/src/it/projects/MJAVADOC-449_aggr_modulepath/verify.groovy
@@ -16,23 +16,23 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-int javaVersion = System.getProperty( "java.specification.version" ) as Integer
-if ( javaVersion >= 11 ) {
-    def index = new File( basedir, 'target/reports/apidocs/index.html')
 
-       assert index.text =~ /<a 
href="modulea\/module-summary\.html">modulea<\/a>/
-       assert index.text =~ /<a 
href="moduleb\/module-summary\.html">moduleb<\/a>/
-       
-       assert new File( basedir, 
'target/reports/apidocs/modulea/module-summary.html').exists()
-       assert new File( basedir, 
'target/reports/apidocs/moduleb/module-summary.html').exists()
-} 
+int javaVersion = System.getProperty("java.specification.version") as Integer
+if (javaVersion >= 11) {
+    def index = new File(basedir, 'target/reports/apidocs/index.html')
+
+    assert index.text =~ /<a href="modulea\/module-summary\.html">modulea<\/a>/
+    assert index.text =~ /<a href="moduleb\/module-summary\.html">moduleb<\/a>/
+
+    assert new File(basedir, 
'target/reports/apidocs/modulea/module-summary.html').exists()
+    assert new File(basedir, 
'target/reports/apidocs/moduleb/module-summary.html').exists()
+}
 else {
-    def overview = new File( basedir, 
'target/reports/apidocs/overview-summary.html')
+    def overview = new File(basedir, 
'target/reports/apidocs/overview-summary.html')
+
+    assert overview.text =~ /<a href="modulea-summary.html">modulea<\/a>/
+    assert overview.text =~ /<a href="moduleb-summary.html">moduleb<\/a>/
 
-       assert overview.text =~ /<a href="modulea-summary.html">modulea<\/a>/
-       assert overview.text =~ /<a href="moduleb-summary.html">moduleb<\/a>/
-       
-       assert new File( basedir, 
'target/reports/apidocs/modulea-summary.html').exists()
-       assert new File( basedir, 
'target/reports/apidocs/moduleb-summary.html').exists()
-} 
+    assert new File(basedir, 
'target/reports/apidocs/modulea-summary.html').exists()
+    assert new File(basedir, 
'target/reports/apidocs/moduleb-summary.html').exists()
+}
diff --git 
a/src/it/projects/MJAVADOC-450_classifier-jdk-23-no-fonts/verify.groovy 
b/src/it/projects/MJAVADOC-450_classifier-jdk-23-no-fonts/verify.groovy
index 1fd991c8..3c847404 100644
--- a/src/it/projects/MJAVADOC-450_classifier-jdk-23-no-fonts/verify.groovy
+++ b/src/it/projects/MJAVADOC-450_classifier-jdk-23-no-fonts/verify.groovy
@@ -16,11 +16,11 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-def buildLog = new File( basedir, 'build.log' );
+
+def buildLog = new File(basedir, 'build.log')
 assert buildLog.text.contains('custom.css found in javadoc plugin 
dependencies')
 
-def stylesheetCss = new File( basedir, 
'target/reports/apidocs/resource-files/stylesheet.css' );
+def stylesheetCss = new File(basedir, 
'target/reports/apidocs/resource-files/stylesheet.css')
 assert stylesheetCss.text.containsIgnoreCase('dejavu')
 
-assert !(new File( basedir, 
'target/reports/apidocs/resource-files/fonts/dejavu.css'  ).exists());
\ No newline at end of file
+assert !(new File(basedir, 
'target/reports/apidocs/resource-files/fonts/dejavu.css').exists())
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-450_classifier-jdk-23/verify.groovy 
b/src/it/projects/MJAVADOC-450_classifier-jdk-23/verify.groovy
index 233f21fb..e4bc2a90 100644
--- a/src/it/projects/MJAVADOC-450_classifier-jdk-23/verify.groovy
+++ b/src/it/projects/MJAVADOC-450_classifier-jdk-23/verify.groovy
@@ -16,12 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-def buildLog = new File( basedir, 'build.log' );
+
+def buildLog = new File(basedir, 'build.log')
 assert buildLog.text.contains('custom.css found in javadoc plugin 
dependencies')
 
-def stylesheetCss = new File( basedir, 
'target/reports/apidocs/resource-files/stylesheet.css' );
+def stylesheetCss = new File(basedir, 
'target/reports/apidocs/resource-files/stylesheet.css')
 assert stylesheetCss.text.containsIgnoreCase('dejavu')
 
 
-assert new File( basedir, 
'target/reports/apidocs/resource-files/fonts/dejavu.css' ).exists();
\ No newline at end of file
+assert new File(basedir, 
'target/reports/apidocs/resource-files/fonts/dejavu.css').exists()
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-450_classifier/verify.groovy 
b/src/it/projects/MJAVADOC-450_classifier/verify.groovy
index d07b2be3..385d740b 100644
--- a/src/it/projects/MJAVADOC-450_classifier/verify.groovy
+++ b/src/it/projects/MJAVADOC-450_classifier/verify.groovy
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-def buildLog = new File( basedir, 'build.log' );
+
+def buildLog = new File(basedir, 'build.log')
 assert buildLog.text.contains('[DEBUG] custom.css found in javadoc plugin 
dependencies.')
 
-def stylesheetCss = new File( basedir, 'target/reports/apidocs/stylesheet.css' 
);
+def stylesheetCss = new File(basedir, 'target/reports/apidocs/stylesheet.css')
 assert stylesheetCss.text.contains('/* CUSTOM CSS */')
diff --git a/src/it/projects/MJAVADOC-495_offline-filescheme/verify.groovy 
b/src/it/projects/MJAVADOC-495_offline-filescheme/verify.groovy
index 75a25f10..6889b2b1 100644
--- a/src/it/projects/MJAVADOC-495_offline-filescheme/verify.groovy
+++ b/src/it/projects/MJAVADOC-495_offline-filescheme/verify.groovy
@@ -16,10 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-assert new File( basedir, 'target/reports/apidocs/options').readLines()
-                                                        .dropWhile{ it != 
'-link'}
-                                                        .drop(1)
-                                                        .first()
-                                                        .startsWith( "'file:/" 
)
+
+assert new File(basedir, 'target/reports/apidocs/options').readLines()
+.dropWhile{
+    it != '-link'
+}
+.drop(1)
+.first()
+.startsWith("'file:/")
 
diff --git a/src/it/projects/MJAVADOC-497/verify.groovy 
b/src/it/projects/MJAVADOC-497/verify.groovy
index e92aa676..6d0b42c5 100644
--- a/src/it/projects/MJAVADOC-497/verify.groovy
+++ b/src/it/projects/MJAVADOC-497/verify.groovy
@@ -17,18 +17,16 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-File list;
+File list
 
-String javaVersion = System.getProperty( "java.specification.version" );
-if ( javaVersion.startsWith( "1." ) || javaVersion.equals( "9" ) )
-{
-    list = new File( basedir, "target/reports/apidocs/package-list" );
+String javaVersion = System.getProperty("java.specification.version")
+if (javaVersion.startsWith("1.") || javaVersion.equals("9")) {
+    list = new File(basedir, "target/reports/apidocs/package-list")
 }
-else
-{
-    list = new File( basedir, "target/reports/apidocs/element-list" );
+else {
+    list = new File(basedir, "target/reports/apidocs/element-list")
 }
 
 assert list.exists() : list + " is missing"
diff --git a/src/it/projects/MJAVADOC-498_modulepath/verify.groovy 
b/src/it/projects/MJAVADOC-498_modulepath/verify.groovy
index f91aff5c..7d422e05 100644
--- a/src/it/projects/MJAVADOC-498_modulepath/verify.groovy
+++ b/src/it/projects/MJAVADOC-498_modulepath/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-def log = new File( basedir, 'build.log').text
-def count = log.count( " --module-path" )
+def log = new File(basedir, 'build.log').text
+def count = log.count(" --module-path")
 // depends on Maven version (<= 3.8.x, then 2; otherwise 3)
 assert count == 2 || count == 3
diff --git a/src/it/projects/MJAVADOC-506_excl-module-info/verify.groovy 
b/src/it/projects/MJAVADOC-506_excl-module-info/verify.groovy
index 99777a19..14a62a94 100644
--- a/src/it/projects/MJAVADOC-506_excl-module-info/verify.groovy
+++ b/src/it/projects/MJAVADOC-506_excl-module-info/verify.groovy
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-def javaVersion = System.getProperty( "java.specification.version" )
-if ( javaVersion =~ /(1\..+)|9|10/ ) {
-  assert new File( basedir, 
'target/reports/apidocs/com/foo/MyClass.html').exists()
+def javaVersion = System.getProperty("java.specification.version")
+if (javaVersion =~ /(1\..+)|9|10/) {
+    assert new File(basedir, 
'target/reports/apidocs/com/foo/MyClass.html').exists()
 } else {
-  assert new File( basedir, 
'target/reports/apidocs/M.N/com/foo/MyClass.html').exists()
+    assert new File(basedir, 
'target/reports/apidocs/M.N/com/foo/MyClass.html').exists()
 }
 
 
diff --git a/src/it/projects/MJAVADOC-528/verify.groovy 
b/src/it/projects/MJAVADOC-528/verify.groovy
index 66dfbd1d..15284b05 100644
--- a/src/it/projects/MJAVADOC-528/verify.groovy
+++ b/src/it/projects/MJAVADOC-528/verify.groovy
@@ -17,5 +17,5 @@
  * under the License.
  */
 
-File log = new File( basedir, 'build.log' )
-assert !( log.text =~ /.*Invalid cookie header:[^\r\n]+\. Invalid 'expires' 
attribute:.*/ )
+File log = new File(basedir, 'build.log')
+assert !(log.text =~ /.*Invalid cookie header:[^\r\n]+\. Invalid 'expires' 
attribute:.*/)
diff --git a/src/it/projects/MJAVADOC-538/verify.groovy 
b/src/it/projects/MJAVADOC-538/verify.groovy
index f272e8ad..2930d4cc 100644
--- a/src/it/projects/MJAVADOC-538/verify.groovy
+++ b/src/it/projects/MJAVADOC-538/verify.groovy
@@ -17,10 +17,10 @@
  * under the License.
  */
 
-def log = new File( basedir, 'build.log' ).text
+def log = new File(basedir, 'build.log').text
 
 // the forked javadoc JVM did see the option, so the filter in 
JavadocOutputStreamConsumer was exercised
-assert log.contains( 'Picked up JAVA_TOOL_OPTIONS: -Dabc=def' ) : 
'JAVA_TOOL_OPTIONS did not reach the forked JVM'
+assert log.contains('Picked up JAVA_TOOL_OPTIONS: -Dabc=def') : 
'JAVA_TOOL_OPTIONS did not reach the forked JVM'
 // and its announcement was neither reported as a javadoc warning nor failed 
the build (failOnWarnings=true)
 assert !log.contains( '[WARNING] Picked up JAVA_TOOL_OPTIONS' ) : 'JVM 
announcement was logged as a javadoc warning'
 assert !log.contains( 'Javadoc Warnings' )
diff --git a/src/it/projects/MJAVADOC-555_aggr_mixed/verify.groovy 
b/src/it/projects/MJAVADOC-555_aggr_mixed/verify.groovy
index b0fc0b74..ebfdb34b 100644
--- a/src/it/projects/MJAVADOC-555_aggr_mixed/verify.groovy
+++ b/src/it/projects/MJAVADOC-555_aggr_mixed/verify.groovy
@@ -16,23 +16,23 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-int javaVersion = System.getProperty( "java.specification.version" ) as Integer
-if ( javaVersion >= 11 ) {
-    def index = new File( basedir, 'target/reports/apidocs/index.html')
 
-       assert index.text =~ /<a 
href="module1\/module-summary\.html">module1<\/a>/
-       assert index.text =~ /<a 
href="module2\/module-summary\.html">module2<\/a>/
-       
-       assert new File( basedir, 
'target/reports/apidocs/module1/module-summary.html').exists()
-       assert new File( basedir, 
'target/reports/apidocs/module2/module-summary.html').exists()
-} 
+int javaVersion = System.getProperty("java.specification.version") as Integer
+if (javaVersion >= 11) {
+    def index = new File(basedir, 'target/reports/apidocs/index.html')
+
+    assert index.text =~ /<a href="module1\/module-summary\.html">module1<\/a>/
+    assert index.text =~ /<a href="module2\/module-summary\.html">module2<\/a>/
+
+    assert new File(basedir, 
'target/reports/apidocs/module1/module-summary.html').exists()
+    assert new File(basedir, 
'target/reports/apidocs/module2/module-summary.html').exists()
+}
 else {
-    def overview = new File( basedir, 
'target/reports/apidocs/overview-summary.html')
+    def overview = new File(basedir, 
'target/reports/apidocs/overview-summary.html')
+
+    assert overview.text =~ /<a href="module1-summary.html">module1<\/a>/
+    assert overview.text =~ /<a href="module2-summary.html">module2<\/a>/
 
-       assert overview.text =~ /<a href="module1-summary.html">module1<\/a>/
-       assert overview.text =~ /<a href="module2-summary.html">module2<\/a>/
-       
-       assert new File( basedir, 
'target/reports/apidocs/module1-summary.html').exists()
-       assert new File( basedir, 
'target/reports/apidocs/module2-summary.html').exists()
-} 
+    assert new File(basedir, 
'target/reports/apidocs/module1-summary.html').exists()
+    assert new File(basedir, 
'target/reports/apidocs/module2-summary.html').exists()
+}
diff --git a/src/it/projects/MJAVADOC-555_link-automatic-modules/verify.groovy 
b/src/it/projects/MJAVADOC-555_link-automatic-modules/verify.groovy
index 693813e3..2902d20d 100644
--- a/src/it/projects/MJAVADOC-555_link-automatic-modules/verify.groovy
+++ b/src/it/projects/MJAVADOC-555_link-automatic-modules/verify.groovy
@@ -18,11 +18,11 @@
  */
 
 def classFile
-int javaVersion = System.getProperty( "java.specification.version" ) as Integer
-if ( javaVersion >= 11 ) {
- classFile = new File( basedir, 
'target/reports/apidocs/jul_to_slf4j/com/testcase/Testcase.html')
+int javaVersion = System.getProperty("java.specification.version") as Integer
+if (javaVersion >= 11) {
+    classFile = new File(basedir, 
'target/reports/apidocs/jul_to_slf4j/com/testcase/Testcase.html')
 } else {
- classFile = new File( basedir, 
'target/reports/apidocs/com/testcase/Testcase.html')
+    classFile = new File(basedir, 
'target/reports/apidocs/com/testcase/Testcase.html')
 }
 assert classFile.exists() : "Can't locate ${classFile}"
 
@@ -32,12 +32,14 @@ def m = classFile.text =~ p
 
 assert m.hasGroup()
 try {
-  // https://bugs.openjdk.java.net/browse/JDK-8232438
-  // As of Java 15 ?is-external=true is removed
-  assert 
m[0][1].startsWith('https://guava.dev/releases/32.0.0-jre/api/docs/com/google/common/collect/Multimap.html')
+    // https://bugs.openjdk.java.net/browse/JDK-8232438
+    // As of Java 15 ?is-external=true is removed
+    assert 
m[0][1].startsWith('https://guava.dev/releases/32.0.0-jre/api/docs/com/google/common/collect/Multimap.html')
 }
 catch(IndexOutOfBoundsException ioobe) {
-  // seems to happen with some Java 11 releases...
-  if ( javaVersion != 11 ) { throw ioobe }
+    // seems to happen with some Java 11 releases...
+    if ( javaVersion != 11 ) {
+        throw ioobe
+    }
 }
 
diff --git a/src/it/projects/MJAVADOC-567_aggr-mixed/verify.groovy 
b/src/it/projects/MJAVADOC-567_aggr-mixed/verify.groovy
index 3fcfe7f5..de909cac 100644
--- a/src/it/projects/MJAVADOC-567_aggr-mixed/verify.groovy
+++ b/src/it/projects/MJAVADOC-567_aggr-mixed/verify.groovy
@@ -16,17 +16,19 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
+
 def buildLog = new File(basedir,'build.log')
 
-def expectedLines = ['Creating an aggregated report for both named and unnamed 
modules is not possible.',
-                     'Ensure that every module has a module descriptor or is a 
jar with a MANIFEST.MF containing an Automatic-Module-Name.',
-                     'Fix the following projects:',
-                     ' - testcase:module2:1.0-SNAPSHOT']
+def expectedLines = [
+    'Creating an aggregated report for both named and unnamed modules is not 
possible.',
+    'Ensure that every module has a module descriptor or is a jar with a 
MANIFEST.MF containing an Automatic-Module-Name.',
+    'Fix the following projects:',
+    ' - testcase:module2:1.0-SNAPSHOT'
+]
+
+def errorLines = buildLog.readLines()
+        .dropWhile{ !it.startsWith('[ERROR] Creating') }
+        .takeWhile{ it.startsWith('[ERROR]') }
+        .collect { it - '[ERROR] '}
 
-def errorLines = buildLog.readLines() 
-                         .dropWhile{ !it.startsWith('[ERROR] Creating') }
-                         .takeWhile{ it.startsWith('[ERROR]') }
-                         .collect  { it - '[ERROR] '}
-                         
-assert expectedLines == errorLines                   
+assert expectedLines == errorLines
diff --git a/src/it/projects/MJAVADOC-575_source8-module-info/verify.groovy 
b/src/it/projects/MJAVADOC-575_source8-module-info/verify.groovy
index 7929159e..35f92150 100644
--- a/src/it/projects/MJAVADOC-575_source8-module-info/verify.groovy
+++ b/src/it/projects/MJAVADOC-575_source8-module-info/verify.groovy
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-assert new File( basedir, 
'target/reports/apidocs/com/foo/MyClass.html').exists()
+assert new File(basedir, 
'target/reports/apidocs/com/foo/MyClass.html').exists()
diff --git a/src/it/projects/MJAVADOC-580_detectLinks/verify.groovy 
b/src/it/projects/MJAVADOC-580_detectLinks/verify.groovy
index f63075b9..c8d24c56 100644
--- a/src/it/projects/MJAVADOC-580_detectLinks/verify.groovy
+++ b/src/it/projects/MJAVADOC-580_detectLinks/verify.groovy
@@ -16,16 +16,16 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-def javaVersion = System.getProperty( 'java.specification.version' )
 
-if ( javaVersion.startsWith('1.') || Integer.parseInt(javaVersion) < 16 )
-{
-  def buildLog = new File(basedir,'build.log')
-  assert buildLog.readLines().any{ it ==~ /\[DEBUG\] Found Java API link: 
.*\/javase\/\d+\/docs\/api\// }
+def javaVersion = System.getProperty('java.specification.version')
+
+if (javaVersion.startsWith('1.') || Integer.parseInt(javaVersion) < 16) {
+    def buildLog = new File(basedir,'build.log')
+    assert buildLog.readLines().any{
+        it ==~ /\[DEBUG\] Found Java API link: .*\/javase\/\d+\/docs\/api\//
+    }
 }
-else
-{
-  def barHtml = new File(basedir,'target/reports/apidocs/foo/Bar.html')
-  assert barHtml.text =~ /<a href="https:[^"]+Object.html"/
+else {
+    def barHtml = new File(basedir,'target/reports/apidocs/foo/Bar.html')
+    assert barHtml.text =~ /<a href="https:[^"]+Object.html"/
 }
diff --git a/src/it/projects/MJAVADOC-592_detectApiLink/verify.groovy 
b/src/it/projects/MJAVADOC-592_detectApiLink/verify.groovy
index df4b1820..f3d87cd4 100644
--- a/src/it/projects/MJAVADOC-592_detectApiLink/verify.groovy
+++ b/src/it/projects/MJAVADOC-592_detectApiLink/verify.groovy
@@ -18,4 +18,6 @@
  */
 
 def options = new File(basedir,'target/reports/apidocs/options')
-assert 
options.readLines().dropWhile{it!='-linkoffline'}.get(1).startsWith("'https://docs.oracle.com/javase/8/docs/api";)
+assert options.readLines().dropWhile{
+    it != '-linkoffline'
+}.get(1).startsWith("'https://docs.oracle.com/javase/8/docs/api";)
diff --git a/src/it/projects/MJAVADOC-599/verify.groovy 
b/src/it/projects/MJAVADOC-599/verify.groovy
index 8d48b8bc..ed4b348c 100644
--- a/src/it/projects/MJAVADOC-599/verify.groovy
+++ b/src/it/projects/MJAVADOC-599/verify.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-def file = new File( basedir, 'target/mjavadoc-599-1.0-SNAPSHOT-javadoc.jar' );
+def file = new File(basedir, 'target/mjavadoc-599-1.0-SNAPSHOT-javadoc.jar')
 
 assert file.exists()
diff --git a/src/it/projects/MJAVADOC-610_mrjar/verify.groovy 
b/src/it/projects/MJAVADOC-610_mrjar/verify.groovy
index fb392549..aec17353 100644
--- a/src/it/projects/MJAVADOC-610_mrjar/verify.groovy
+++ b/src/it/projects/MJAVADOC-610_mrjar/verify.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-def file = new File( basedir, 'target/mjavadoc610-1.0-SNAPSHOT-javadoc.jar' )
+def file = new File(basedir, 'target/mjavadoc610-1.0-SNAPSHOT-javadoc.jar')
 assert file.exists()
 
-assert new File( basedir, 
'target/reports/apidocs/com.foo/com/foo/MyClass.html').exists()
-assert new File( basedir, 
'target/reports/apidocs/com.foo/com/foo/OtherClass.html').exists()
+assert new File(basedir, 
'target/reports/apidocs/com.foo/com/foo/MyClass.html').exists()
+assert new File(basedir, 
'target/reports/apidocs/com.foo/com/foo/OtherClass.html').exists()
diff --git a/src/it/projects/MJAVADOC-613-aggregate-exclude/verify.groovy 
b/src/it/projects/MJAVADOC-613-aggregate-exclude/verify.groovy
index 10cacfb1..2d4dabf0 100644
--- a/src/it/projects/MJAVADOC-613-aggregate-exclude/verify.groovy
+++ b/src/it/projects/MJAVADOC-613-aggregate-exclude/verify.groovy
@@ -19,24 +19,24 @@
 
 import java.util.jar.*
 
-def aggregatedJavadoc = new File( basedir, 
'target/mjavadoc613-1.0-SNAPSHOT-javadoc.jar');
+def aggregatedJavadoc = new File(basedir, 
'target/mjavadoc613-1.0-SNAPSHOT-javadoc.jar')
 
 assert aggregatedJavadoc.exists()
-assert new File( basedir, 
'b/c/d1/target/mjavadoc613d1-1.0-SNAPSHOT.jar').exists()
-assert !(new File( basedir, 
'b/c/d1/target/mjavadoc613d1-1.0-SNAPSHOT-javadoc.jar').exists())
-assert new File( basedir, 
'b/c/d2/target/mjavadoc613d2-1.0-SNAPSHOT.jar').exists()
-assert !(new File( basedir, 
'b/c/d2/target/mjavadoc613d2-1.0-SNAPSHOT-javadoc.jar').exists())
-assert new File( basedir, 'b/e/target/mjavadoc613e-1.0-SNAPSHOT.jar').exists()
-assert new File( basedir, 
'b/e/target/mjavadoc613e-1.0-SNAPSHOT-javadoc.jar').exists()
-assert new File( basedir, 'f/target/mjavadoc613f-1.0-SNAPSHOT.jar').exists()
-assert !(new File( basedir, 
'f/target/mjavadoc613f-1.0-SNAPSHOT-javadoc.jar').exists())
+assert new File(basedir, 
'b/c/d1/target/mjavadoc613d1-1.0-SNAPSHOT.jar').exists()
+assert !(new File(basedir, 
'b/c/d1/target/mjavadoc613d1-1.0-SNAPSHOT-javadoc.jar').exists())
+assert new File(basedir, 
'b/c/d2/target/mjavadoc613d2-1.0-SNAPSHOT.jar').exists()
+assert !(new File(basedir, 
'b/c/d2/target/mjavadoc613d2-1.0-SNAPSHOT-javadoc.jar').exists())
+assert new File(basedir, 'b/e/target/mjavadoc613e-1.0-SNAPSHOT.jar').exists()
+assert new File(basedir, 
'b/e/target/mjavadoc613e-1.0-SNAPSHOT-javadoc.jar').exists()
+assert new File(basedir, 'f/target/mjavadoc613f-1.0-SNAPSHOT.jar').exists()
+assert !(new File(basedir, 
'f/target/mjavadoc613f-1.0-SNAPSHOT-javadoc.jar').exists())
 
 def jar = new JarFile(aggregatedJavadoc)
 
 def files = new ArrayList()
 
 for (JarEntry file in jar.entries()){
-  files.add(file.getName())
+    files.add(file.getName())
 }
 
 assert files.contains("a/b/e/E.html")
diff --git a/src/it/projects/MJAVADOC-618_modular-war/verify.groovy 
b/src/it/projects/MJAVADOC-618_modular-war/verify.groovy
index 96e7b1e6..0986a075 100644
--- a/src/it/projects/MJAVADOC-618_modular-war/verify.groovy
+++ b/src/it/projects/MJAVADOC-618_modular-war/verify.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-assert new File( basedir, 'target/reports/apidocs/argfile').readLines().size() 
== 2
-assert new File( basedir, 
'target/reports/apidocs/com.mycompany.lib/com/mycompany/lib/Library.html').exists()
+assert new File(basedir, 'target/reports/apidocs/argfile').readLines().size() 
== 2
+assert new File(basedir, 
'target/reports/apidocs/com.mycompany.lib/com/mycompany/lib/Library.html').exists()
 // module descriptor of com.mycompany.app  has no exports, so nothing is 
documented
-assert !new File( basedir, 
'target/reports/apidocs/com.mycompany.app/com/mycompany/app/Application.html').exists()
+assert !new File(basedir, 
'target/reports/apidocs/com.mycompany.app/com/mycompany/app/Application.html').exists()
diff --git a/src/it/projects/MJAVADOC-620/verify.groovy 
b/src/it/projects/MJAVADOC-620/verify.groovy
index 9e5e3874..1cf9c970 100644
--- a/src/it/projects/MJAVADOC-620/verify.groovy
+++ b/src/it/projects/MJAVADOC-620/verify.groovy
@@ -18,11 +18,11 @@
  * under the License.
  */
 
-def options = new File( basedir, 'app/target/reports/apidocs/options' )
+def options = new File(basedir, 'app/target/reports/apidocs/options')
 assert options.isFile()
 
 def str = options.text
 // dependency whose version has no dot
-assert str.contains( 'maven-MJAVADOC620-jar-1-SNAPSHOT.jar' ) : 'Javadoc does 
not use the artifact with a dot-less version'
+assert str.contains('maven-MJAVADOC620-jar-1-SNAPSHOT.jar') : 'Javadoc does 
not use the artifact with a dot-less version'
 // dependency whose class lives in the top-level package
 assert str.contains( 'maven-MJAVADOC620-toplevel-1.0-SNAPSHOT.jar' ) : 
'Javadoc does not use the artifact with a top-level class'
diff --git 
a/src/it/projects/MJAVADOC-636-aggregate_module_skipped/verify.groovy 
b/src/it/projects/MJAVADOC-636-aggregate_module_skipped/verify.groovy
index 702c13c7..9ee329fa 100644
--- a/src/it/projects/MJAVADOC-636-aggregate_module_skipped/verify.groovy
+++ b/src/it/projects/MJAVADOC-636-aggregate_module_skipped/verify.groovy
@@ -19,7 +19,7 @@
 
 import java.util.jar.*
 
-def aggregatedJavadoc = new File( basedir, 
'target/mjavadoc636-1.0-SNAPSHOT-javadoc.jar');
+def aggregatedJavadoc = new File(basedir, 
'target/mjavadoc636-1.0-SNAPSHOT-javadoc.jar')
 
 assert aggregatedJavadoc.exists()
 
@@ -28,7 +28,7 @@ def jar = new JarFile(aggregatedJavadoc)
 def files = new ArrayList()
 
 for (JarEntry file in jar.entries()){
-  files.add(file.getName())
+    files.add(file.getName())
 }
 
 assert !files.contains("a/b/e/E.html")
diff --git a/src/it/projects/MJAVADOC-639_requires_ignored/verify.groovy 
b/src/it/projects/MJAVADOC-639_requires_ignored/verify.groovy
index 6f09faf2..88443f61 100644
--- a/src/it/projects/MJAVADOC-639_requires_ignored/verify.groovy
+++ b/src/it/projects/MJAVADOC-639_requires_ignored/verify.groovy
@@ -20,34 +20,34 @@ import java.util.jar.JarFile
  * under the License.
  */
 
-int javaVersion = System.getProperty( "java.specification.version" ) as Integer
-if ( javaVersion >= 11 ) {
-    def index = new File( basedir, 'target/reports/apidocs/index.html')
+int javaVersion = System.getProperty("java.specification.version") as Integer
+if (javaVersion >= 11) {
+    def index = new File(basedir, 'target/reports/apidocs/index.html')
 
-       assert index.text =~ /<a 
href="modulea\/module-summary\.html">modulea<\/a>/
-       assert index.text =~ /<a 
href="moduleb\/module-summary\.html">moduleb<\/a>/
+    assert index.text =~ /<a href="modulea\/module-summary\.html">modulea<\/a>/
+    assert index.text =~ /<a href="moduleb\/module-summary\.html">moduleb<\/a>/
 
-       assert new File( basedir, 
'target/reports/apidocs/modulea/module-summary.html').exists()
-       assert new File( basedir, 
'target/reports/apidocs/moduleb/module-summary.html').exists()
+    assert new File(basedir, 
'target/reports/apidocs/modulea/module-summary.html').exists()
+    assert new File(basedir, 
'target/reports/apidocs/moduleb/module-summary.html').exists()
 }
 else {
-    def overview = new File( basedir, 
'target/reports/apidocs/overview-summary.html')
+    def overview = new File(basedir, 
'target/reports/apidocs/overview-summary.html')
 
-       assert overview.text =~ /<a href="modulea-summary.html">modulea<\/a>/
-       assert overview.text =~ /<a href="moduleb-summary.html">moduleb<\/a>/
+    assert overview.text =~ /<a href="modulea-summary.html">modulea<\/a>/
+    assert overview.text =~ /<a href="moduleb-summary.html">moduleb<\/a>/
 
-       assert new File( basedir, 
'target/site/site/apidocs/modulea-summary.html').exists()
-       assert new File( basedir, 
'target/site/site/apidocs/moduleb-summary.html').exists()
+    assert new File(basedir, 
'target/site/site/apidocs/modulea-summary.html').exists()
+    assert new File(basedir, 
'target/site/site/apidocs/moduleb-summary.html').exists()
 }
 
 def aggregate = new File(basedir, 
'target/MJAVADOC-639-1.0.0-SNAPSHOT-javadoc.jar')
 assert aggregate.exists()
 
-def jar = new JarFile( aggregate )
+def jar = new JarFile(aggregate)
 def files = new ArrayList()
 
-for ( JarEntry file in jar.entries() ) {
-       files.add(file.getName())
+for (JarEntry file in jar.entries()) {
+    files.add(file.getName())
 }
 
 assert files.contains("modulea/com/javamodularity/modulea/SimpleLogging.html")
diff --git a/src/it/projects/MJAVADOC-642/verify.groovy 
b/src/it/projects/MJAVADOC-642/verify.groovy
index a0a9d4a0..f40fb65d 100644
--- a/src/it/projects/MJAVADOC-642/verify.groovy
+++ b/src/it/projects/MJAVADOC-642/verify.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-def log = new File( basedir, 'build.log').text
+def log = new File(basedir, 'build.log').text
 
 assert log.count("[DEBUG]   (f) offline = false") == 0
 // both invocations append to the same build.log: once from the offline-in-pom 
profile, once from -Dmaven.javadoc.offline=true
diff --git a/src/it/projects/MJAVADOC-661_mrjar/verify.groovy 
b/src/it/projects/MJAVADOC-661_mrjar/verify.groovy
index 4906364a..7ac50bd4 100644
--- a/src/it/projects/MJAVADOC-661_mrjar/verify.groovy
+++ b/src/it/projects/MJAVADOC-661_mrjar/verify.groovy
@@ -17,13 +17,13 @@
  * under the License.
  */
 
-int javaVersion = System.getProperty( "java.specification.version" ) as Integer
-def versions = 9..Math.min( 13, javaVersion )
+int javaVersion = System.getProperty("java.specification.version") as Integer
+def versions = 9..Math.min(13, javaVersion)
 def required = []
 
 versions.each { required << "'com.foo.Taglet" + it + "'" }
 
-def options = new File( basedir, 'target/reports/apidocs/options' );
+def options = new File(basedir, 'target/reports/apidocs/options')
 
 assert options.exists() : options + " not found"
 
diff --git a/src/it/projects/MJAVADOC-679_encoding/setup.groovy 
b/src/it/projects/MJAVADOC-679_encoding/setup.groovy
index e6403b35..0f3799bb 100644
--- a/src/it/projects/MJAVADOC-679_encoding/setup.groovy
+++ b/src/it/projects/MJAVADOC-679_encoding/setup.groovy
@@ -16,5 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-new File(basedir, 'module1').renameTo(new File(basedir, 'môdülé')) 
\ No newline at end of file
+
+new File(basedir, 'module1').renameTo(new File(basedir, 'môdülé'))
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-704_toolchains/verify.groovy 
b/src/it/projects/MJAVADOC-704_toolchains/verify.groovy
index fedfda71..d1f47265 100644
--- a/src/it/projects/MJAVADOC-704_toolchains/verify.groovy
+++ b/src/it/projects/MJAVADOC-704_toolchains/verify.groovy
@@ -16,8 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
-def log = new File( basedir, 'build.log').text
 
-assert log.count( "[INFO] Toolchain in maven-compiler-plugin: JDK" ) == 2
-assert log.count( "[INFO] Toolchain in maven-javadoc-plugin: JDK" ) == 1
\ No newline at end of file
+def log = new File(basedir, 'build.log').text
+
+assert log.count("[INFO] Toolchain in maven-compiler-plugin: JDK") == 2
+assert log.count("[INFO] Toolchain in maven-javadoc-plugin: JDK") == 1
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-770/verify.groovy 
b/src/it/projects/MJAVADOC-770/verify.groovy
index 86ea1df5..32d33b71 100644
--- a/src/it/projects/MJAVADOC-770/verify.groovy
+++ b/src/it/projects/MJAVADOC-770/verify.groovy
@@ -18,6 +18,6 @@
  */
 
 // new style javadoc has a module summary. legacy mode has not.
-def moduleFile = new File( basedir, 
'target/reports/apidocs/mjavadoc770/module-summary.html')
+def moduleFile = new File(basedir, 
'target/reports/apidocs/mjavadoc770/module-summary.html')
 
 assert !moduleFile.exists()
diff --git a/src/it/projects/MJAVADOC-823/verify.groovy 
b/src/it/projects/MJAVADOC-823/verify.groovy
index c2bf1d65..acf1a7eb 100644
--- a/src/it/projects/MJAVADOC-823/verify.groovy
+++ b/src/it/projects/MJAVADOC-823/verify.groovy
@@ -18,8 +18,8 @@
  */
 
 // Aggregate
-assert new File( basedir, 'target/reports/apidocs/a/b/c/d/D1.html').exists()
-assert new File( basedir, 'target/reports/apidocs/a/b/c/d/D2.html').exists()
-assert new File( basedir, 'target/reports/apidocs/a/b/e/E.html').exists()
-assert new File( basedir, 'target/reports/apidocs/a/f/F.html').exists()
+assert new File(basedir, 'target/reports/apidocs/a/b/c/d/D1.html').exists()
+assert new File(basedir, 'target/reports/apidocs/a/b/c/d/D2.html').exists()
+assert new File(basedir, 'target/reports/apidocs/a/b/e/E.html').exists()
+assert new File(basedir, 'target/reports/apidocs/a/f/F.html').exists()
 
diff --git 
a/src/it/projects/additional-dependencies-non-aggregate/verify.groovy 
b/src/it/projects/additional-dependencies-non-aggregate/verify.groovy
index 2bfdb930..76f6b73c 100644
--- a/src/it/projects/additional-dependencies-non-aggregate/verify.groovy
+++ b/src/it/projects/additional-dependencies-non-aggregate/verify.groovy
@@ -18,51 +18,44 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-boolean result = true;
+boolean result = true
 
-try
-{
-    File target = new File( basedir, "module1/target" );
-    if ( !target.exists() || !target.isDirectory() )
-    {
-        System.err.println( "module1/target file is missing or a directory." );
-        return false;
+try {
+    File target = new File(basedir, "module1/target")
+    if (!target.exists() || !target.isDirectory()) {
+        System.err.println("module1/target file is missing or a directory.")
+        return false
     }
 
-    File apidocs = new File( basedir, "module1/target/site/apidocs" );
-    if ( !apidocs.exists() || !apidocs.isDirectory() )
-    {
-        System.err.println( "module1/target/site/apidocs file is missing or a 
directory." );
-        return false;
+    File apidocs = new File(basedir, "module1/target/site/apidocs")
+    if (!apidocs.exists() || !apidocs.isDirectory()) {
+        System.err.println("module1/target/site/apidocs file is missing or a 
directory.")
+        return false
     }
 
-    File options = new File( apidocs, "options" );
-    if ( !options.exists() || !options.isFile() )
-    {
-        System.err.println( "module1/target/site/apidocs/options file is 
missing or not a file." );
-        return false;
+    File options = new File(apidocs, "options")
+    if (!options.exists() || !options.isFile()) {
+        System.err.println("module1/target/site/apidocs/options file is 
missing or not a file.")
+        return false
     }
 
-    File index = new File( apidocs, "index.html" );
-    if ( !index.exists() || !index.isFile() )
-    {
-        System.err.println( "module1/target/site/apidocs/index.html file is 
missing or not a file." );
-        return false;
+    File index = new File(apidocs, "index.html")
+    if (!index.exists() || !index.isFile()) {
+        System.err.println("module1/target/site/apidocs/index.html file is 
missing or not a file.")
+        return false
+    }
+
+    File reference = new File(apidocs, "reference")
+    if (!reference.exists() || reference.isFile()) {
+        System.err.println("module1/target/site/apidocs/reference file is 
missing or a file.")
+        return false
     }
-    
-    File reference = new File( apidocs, "reference" );
-    if ( !reference.exists() || reference.isFile() )
-    {
-        System.err.println( "module1/target/site/apidocs/reference file is 
missing or a 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/projects/additional-dependencies/verify.groovy 
b/src/it/projects/additional-dependencies/verify.groovy
index 1409b469..687517ca 100644
--- a/src/it/projects/additional-dependencies/verify.groovy
+++ b/src/it/projects/additional-dependencies/verify.groovy
@@ -18,51 +18,44 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
-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 apidocs = new File( basedir, "target/site/apidocs" );
-    if ( !apidocs.exists() || !apidocs.isDirectory() )
-    {
-        System.err.println( "target/site/apidocs file is missing or a 
directory." );
-        return false;
+    File apidocs = new File(basedir, "target/site/apidocs")
+    if (!apidocs.exists() || !apidocs.isDirectory()) {
+        System.err.println("target/site/apidocs file is missing or a 
directory.")
+        return false
     }
 
-    File options = new File( apidocs, "options" );
-    if ( !options.exists() || !options.isFile() )
-    {
-        System.err.println( "target/site/apidocs/options file is missing or 
not a file." );
-        return false;
+    File options = new File(apidocs, "options")
+    if (!options.exists() || !options.isFile()) {
+        System.err.println("target/site/apidocs/options file is missing or not 
a file.")
+        return false
     }
 
-    File index = new File( apidocs, "index.html" );
-    if ( !index.exists() || !index.isFile() )
-    {
-        System.err.println( "target/site/apidocs/index.html file is missing or 
not a file." );
-        return false;
+    File index = new File(apidocs, "index.html")
+    if (!index.exists() || !index.isFile()) {
+        System.err.println("target/site/apidocs/index.html file is missing or 
not a file.")
+        return false
+    }
+
+    File reference = new File(apidocs, "reference")
+    if (!reference.exists() || reference.isFile()) {
+        System.err.println("target/site/apidocs/reference file is missing or a 
file.")
+        return false
     }
-    
-    File reference = new File( apidocs, "reference" );
-    if ( !reference.exists() || reference.isFile() )
-    {
-        System.err.println( "target/site/apidocs/reference file is missing or 
a 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/projects/dependencySource-1/verify.groovy 
b/src/it/projects/dependencySource-1/verify.groovy
index 5cbb64f7..91c72be4 100644
--- a/src/it/projects/dependencySource-1/verify.groovy
+++ b/src/it/projects/dependencySource-1/verify.groovy
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-import java.io.File;
+import java.io.File
 
-File distroTarget = new File( basedir, "MJAVADOC-280-1-distro/target/reports" 
);
-File apidocs = new File( distroTarget, "apidocs" );
-File testApidocs = new File( distroTarget, "testapidocs" );
+File distroTarget = new File(basedir, "MJAVADOC-280-1-distro/target/reports")
+File apidocs = new File(distroTarget, "apidocs")
+File testApidocs = new File(distroTarget, "testapidocs")
 
-File f;
-assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html" ) ).exists() : f + " does 
not exist!"
+File f
+assert (f = new File(apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html")).exists() : f + " does 
not exist!"
 
 assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/modb/App.html" ) ).exists() : f + " does 
not exist!"
 
diff --git a/src/it/projects/dependencySource-2/verify.groovy 
b/src/it/projects/dependencySource-2/verify.groovy
index 2cfaeaf6..f27ed1f0 100644
--- a/src/it/projects/dependencySource-2/verify.groovy
+++ b/src/it/projects/dependencySource-2/verify.groovy
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-import java.io.File;
+import java.io.File
 
-File distroTarget = new File( basedir, "MJAVADOC-280-2-distro/target/reports" 
);
-File apidocs = new File( distroTarget, "apidocs" );
-File testApidocs = new File( distroTarget, "testapidocs" );
+File distroTarget = new File(basedir, "MJAVADOC-280-2-distro/target/reports")
+File apidocs = new File(distroTarget, "apidocs")
+File testApidocs = new File(distroTarget, "testapidocs")
 
-File f;
-assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html" ) ).exists() : f + " does 
not exist!"
+File f
+assert (f = new File(apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html")).exists() : f + " does 
not exist!"
 
 assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/modb/App.html" ) ).exists() : f + " does 
not exist!"
 
diff --git a/src/it/projects/dependencySource-3/verify.groovy 
b/src/it/projects/dependencySource-3/verify.groovy
index 34b2d109..0d328d5b 100644
--- a/src/it/projects/dependencySource-3/verify.groovy
+++ b/src/it/projects/dependencySource-3/verify.groovy
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-import java.io.File;
+import java.io.File
 
-File distroTarget = new File( basedir, "MJAVADOC-280-3-distro/target/reports" 
);
-File apidocs = new File( distroTarget, "apidocs" );
-File testApidocs = new File( distroTarget, "testapidocs" );
+File distroTarget = new File(basedir, "MJAVADOC-280-3-distro/target/reports")
+File apidocs = new File(distroTarget, "apidocs")
+File testApidocs = new File(distroTarget, "testapidocs")
 
-File f;
-assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html" ) ).exists() : f + " does 
not exist!"
+File f
+assert (f = new File(apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html")).exists() : f + " does 
not exist!"
 
 assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/modb/App.html" ) ).exists() : f + " does 
not exist!"
 
diff --git a/src/it/projects/dependencySource-4/verify.groovy 
b/src/it/projects/dependencySource-4/verify.groovy
index 140940b8..bfea2d2e 100644
--- a/src/it/projects/dependencySource-4/verify.groovy
+++ b/src/it/projects/dependencySource-4/verify.groovy
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-import java.io.File;
+import java.io.File
 
-File distroTarget = new File( basedir, "MJAVADOC-280-4-distro/target/reports" 
);
-File apidocs = new File( distroTarget, "apidocs" );
-File testApidocs = new File( distroTarget, "testapidocs" );
+File distroTarget = new File(basedir, "MJAVADOC-280-4-distro/target/reports")
+File apidocs = new File(distroTarget, "apidocs")
+File testApidocs = new File(distroTarget, "testapidocs")
 
-File f;
-assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html" ) ).exists() : f + " does 
not exist!"
+File f
+assert (f = new File(apidocs, 
"org/apache/maven/plugins/mjavadoc/it/moda/App.html")).exists() : f + " does 
not exist!"
 
 assert ( f = new File( apidocs, 
"org/apache/maven/plugins/mjavadoc/it/modb/App.html" ) ).exists() : f + " does 
not exist!"
 
diff --git a/src/it/projects/detectLinks/verify.groovy 
b/src/it/projects/detectLinks/verify.groovy
index 56cf399a..27f2e74f 100644
--- a/src/it/projects/detectLinks/verify.groovy
+++ b/src/it/projects/detectLinks/verify.groovy
@@ -18,38 +18,38 @@
  * under the License.
  */
 
-import java.io.*;
+import java.io.*
 
 // Generated files checks
-File apidocs1 = new File( basedir, "module1/target/reports/apidocs" );
+File apidocs1 = new File(basedir, "module1/target/reports/apidocs")
 assert apidocs1.exists() && apidocs1.isDirectory() : 
apidocs1.getAbsolutePath() + " dir is missing or a directory."
-File apidocs2 = new File( basedir, "module2/target/reports/apidocs" );
+File apidocs2 = new File( basedir, "module2/target/reports/apidocs" )
 assert apidocs2.exists() && apidocs2.isDirectory() : 
apidocs2.getAbsolutePath() + " dir is missing or a directory."
 
-File options1 = new File( apidocs1, "options" );
+File options1 = new File( apidocs1, "options" )
 assert options1.exists() && options1.isFile() : options1.getAbsolutePath() + " 
file is missing or not a file."
-File options2 = new File( apidocs2, "options" );
+File options2 = new File( apidocs2, "options" )
 assert options2.exists() && options2.isFile() : options2.getAbsolutePath() + " 
file is missing or not a file."
 
 // Read files
-String contentOptions1 = options1.getText( 'UTF-8' );
-String contentOptions2 = options2.getText( 'UTF-8' );
-String log = new File( basedir, "build.log" ).getText( 'UTF-8' );
+String contentOptions1 = options1.getText( 'UTF-8' )
+String contentOptions2 = options2.getText( 'UTF-8' )
+String log = new File( basedir, "build.log" ).getText( 'UTF-8' )
 
 // Generated files content checks
 // module1 does not depend on module2, then it should not link
 assert !contentOptions1.contains( "module2" ) : "module1 -linkoffline module2 
added: " + options1
-int link1 = contentOptions1.indexOf( "-link" );
+int link1 = contentOptions1.indexOf( "-link" )
 assert link1 != -1 : "-link not added: " + options1
 assert contentOptions1.substring( link1 ).contains( "commons.apache.org" ) || 
log.contains( "Error fetching link: http://commons.apache.org/lang/apidocs"; ) : 
"link for commons-lang not added: " + options1
 assert contentOptions1.substring( link1 ).contains( "junit.org" ) || 
log.contains( "Error fetching link: http://junit.org/apidocs"; ) : "link for 
junit not added: " + options1
 assert !contentOptions1.contains( 
"http://maven.apache.org/maven2/maven-script/maven-script-marmalade/apidocs"; ) 
: "link for maven-script-marmalade added: " + options1
 
-int linkoffline2 = contentOptions2.indexOf( "module1" );
+int linkoffline2 = contentOptions2.indexOf( "module1" )
 // module2 depends on module1, then it should link
 assert linkoffline2 >= 0 : "module2 -linkoffline module1 not added: " + 
options2
 assert contentOptions2.substring( linkoffline2 ).contains( 
apidocs1.getCanonicalPath().replaceAll( "\\\\", "/" ) ) : 
apidocs1.getCanonicalPath().replaceAll( "\\\\", "/" ) + " not added: " + 
options2
-int link2 = contentOptions2.indexOf( "-link" );
+int link2 = contentOptions2.indexOf( "-link" )
 assert link2 != -1 : "-link not added: " + options2
 assert contentOptions2.substring( link2 ).contains( "commons.apache.org" ) || 
log.contains( "Error fetching link: http://commons.apache.org/lang/apidocs"; ) : 
"link for commons-lang not added: " + options2
 assert contentOptions2.substring( link2 ).contains( "junit.org" ) || 
log.contains( "Error fetching link: http://junit.org/apidocs"; ) : "link for 
junit not added: " + options2
diff --git a/src/it/projects/examples/alternate-doclet/verify.groovy 
b/src/it/projects/examples/alternate-doclet/verify.groovy
index 14a8ac49..2f3d2142 100644
--- a/src/it/projects/examples/alternate-doclet/verify.groovy
+++ b/src/it/projects/examples/alternate-doclet/verify.groovy
@@ -17,8 +17,12 @@
  * under the License.
  */
 
-File options = new File( basedir, 'target/reports/apidocs/options' )
+File options = new File(basedir, 'target/reports/apidocs/options')
 
-assert options.text.readLines().dropWhile{it != '-doclet'}.get(1) == 
"'org.umlgraph.doclet.UmlGraphDoc'"
-assert options.text.readLines().dropWhile{it != 
'-docletpath'}.get(1).contains('org/umlgraph/umlgraph/5.6.6/umlgraph-5.6.6.jar')
+assert options.text.readLines().dropWhile{
+    it != '-doclet'
+}.get(1) == "'org.umlgraph.doclet.UmlGraphDoc'"
+assert options.text.readLines().dropWhile{
+    it != '-docletpath'
+}.get(1).contains('org/umlgraph/umlgraph/5.6.6/umlgraph-5.6.6.jar')
 
diff --git a/src/it/projects/examples/exclude-package-names/verify.groovy 
b/src/it/projects/examples/exclude-package-names/verify.groovy
index fe0ff693..fa394358 100644
--- a/src/it/projects/examples/exclude-package-names/verify.groovy
+++ b/src/it/projects/examples/exclude-package-names/verify.groovy
@@ -17,14 +17,16 @@
  * under the License.
  */
 
-File packages = new File( basedir, 'target/reports/apidocs/packages' )
+File packages = new File(basedir, 'target/reports/apidocs/packages')
 
-def expectedPackages = ['com.mycompany.myapp',
-                                               'com.mycompany.myapp.package1',
-                                               'com.mycompany.myapp.package3',
-                                               
'com.mycompany.myapp.package3.subpackage6',
-                                               
'com.mycompany.myapp.package3.subpackage6.subsubpackage1',
-                                               
'com.mycompany.myapp.package3.subpackage6.subsubpackage2',
-                                               
'com.mycompany.myapp.package3.subpackage7'] as Set
+def expectedPackages = [
+    'com.mycompany.myapp',
+    'com.mycompany.myapp.package1',
+    'com.mycompany.myapp.package3',
+    'com.mycompany.myapp.package3.subpackage6',
+    'com.mycompany.myapp.package3.subpackage6.subsubpackage1',
+    'com.mycompany.myapp.package3.subpackage6.subsubpackage2',
+    'com.mycompany.myapp.package3.subpackage7'
+] as Set
 
 assert expectedPackages == packages.readLines() as Set
diff --git a/src/it/projects/output-encoding/verify.groovy 
b/src/it/projects/output-encoding/verify.groovy
index d8bf6a4e..47476c80 100644
--- a/src/it/projects/output-encoding/verify.groovy
+++ b/src/it/projects/output-encoding/verify.groovy
@@ -17,47 +17,43 @@
  * 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 checkEncoding( String module, String sourceEncoding, String 
reportingEncoding )
-{
-    print( "module " + module + ", source encoding " + sourceEncoding
-           + ", expected reporting encoding " + reportingEncoding );
+boolean checkEncoding(String module, String sourceEncoding, String 
reportingEncoding) {
+    print("module " + module + ", source encoding " + sourceEncoding
+            + ", expected reporting encoding " + reportingEncoding)
 
-    File source = new File( basedir, module + "/src/main/java/Test.java" );
-    File javadoc = new File( basedir, module + 
"/target/reports/apidocs/Test.html" );
+    File source = new File(basedir, module + "/src/main/java/Test.java")
+    File javadoc = new File(basedir, module + 
"/target/reports/apidocs/Test.html")
 
-    String java = FileUtils.fileRead( source, sourceEncoding );
-    String html = FileUtils.fileRead( javadoc, reportingEncoding );
+    String java = FileUtils.fileRead(source, sourceEncoding)
+    String html = FileUtils.fileRead(javadoc, reportingEncoding)
 
-    if ( html.indexOf( "text/html; charset=" + reportingEncoding ) < 0 )
-    {
-        System.err.println( "charset not specified in content-type of " + 
javadoc );
-        return false;
+    if (html.indexOf("text/html; charset=" + reportingEncoding) < 0) {
+        System.err.println("charset not specified in content-type of " + 
javadoc)
+        return false
     }
 
-    String javaChars = StringUtils.getNestedString( java, "{non-ascii chars 
delimiter}" );
-    String htmlChars = StringUtils.getNestedString( html, "{non-ascii chars 
delimiter}" );
+    String javaChars = StringUtils.getNestedString(java, "{non-ascii chars 
delimiter}")
+    String htmlChars = StringUtils.getNestedString(html, "{non-ascii chars 
delimiter}")
 
-    print( "javaChars = " + javaChars );
-    print( "htmlChars = " + htmlChars );
+    print("javaChars = " + javaChars)
+    print("htmlChars = " + htmlChars)
 
-    return javaChars.equals( htmlChars );
+    return javaChars.equals(htmlChars)
 }
 
-try
-{
-    result = checkEncoding( "default", "ISO-8859-15", "UTF-8")
-             && checkEncoding( "encoding", "UTF-8", "UTF-16" )
-             && checkEncoding( "docencoding", "UTF-8", "UTF-16" );
+try {
+    result = checkEncoding("default", "ISO-8859-15", "UTF-8")
+            && checkEncoding("encoding", "UTF-8", "UTF-16")
+            && checkEncoding("docencoding", "UTF-8", "UTF-16")
 }
-catch( IOException e )
-{
-    e.printStackTrace();
-    result = false;
+catch(IOException e) {
+    e.printStackTrace()
+    result = false
 }
 
-return result;
+return result
diff --git a/src/it/projects/reproducible/verify.groovy 
b/src/it/projects/reproducible/verify.groovy
index 805c1c2e..a98d48a8 100644
--- a/src/it/projects/reproducible/verify.groovy
+++ b/src/it/projects/reproducible/verify.groovy
@@ -17,45 +17,46 @@
  * under the License.
  */
 
-import java.nio.file.attribute.FileTime;
-import java.time.Instant;
-import java.util.jar.*;
+import java.nio.file.attribute.FileTime
+import java.time.Instant
+import java.util.jar.*
 
-def target = new File( basedir, 'target' )
+def target = new File(basedir, 'target')
 assert target.isDirectory()
 
-def apidocs = new File( target, 'reports/apidocs' )
+def apidocs = new File(target, 'reports/apidocs')
 assert apidocs.isDirectory()
 
-def options = new File( apidocs, 'options' )
+def options = new File(apidocs, 'options')
 assert options.isFile()
-assert options.text.contains( "'Copyright &#169; 2010&#x2013;2020. All rights 
reserved.'" )
+assert options.text.contains("'Copyright &#169; 2010&#x2013;2020. All rights 
reserved.'")
 
-def artifact = new File( target, 'bar-0.1.0-SNAPSHOT-javadoc.jar' )
+def artifact = new File(target, 'bar-0.1.0-SNAPSHOT-javadoc.jar')
 assert artifact.isFile()
 
 // notimestamp in html files
-apidocs.eachFileRecurse
-{
-    if ( it.name.endsWith( '.html' ) )
-    {
-        def line = it.text.readLines().find { it.startsWith( "<!-- Generated 
by javadoc" ) }
+apidocs.eachFileRecurse {
+    if (it.name.endsWith('.html')) {
+        def line = it.text.readLines().find {
+            it.startsWith("<!-- Generated by javadoc")
+        }
         assert line ==~ /<!-- Generated by javadoc (\(\d+\) )?-->/
     }
 }
 
 // Normalize to UTC
-long normalizeUTC( String timestamp )
-{
-  long millis = Instant.parse( timestamp ).toEpochMilli()
-  Calendar cal = Calendar.getInstance()
-  cal.setTimeInMillis( millis )
-  return millis - ( cal.get( Calendar.ZONE_OFFSET ) + cal.get( 
Calendar.DST_OFFSET ) )
+long normalizeUTC(String timestamp) {
+    long millis = Instant.parse(timestamp).toEpochMilli()
+    Calendar cal = Calendar.getInstance()
+    cal.setTimeInMillis(millis)
+    return millis - (cal.get(Calendar.ZONE_OFFSET) + 
cal.get(Calendar.DST_OFFSET))
 }
 
-JarFile jar = new JarFile( artifact )
+JarFile jar = new JarFile(artifact)
 assert jar.stream().count() > 0
 
 // All entries should have the same timestamp
-FileTime expectedTimestamp = FileTime.fromMillis( normalizeUTC( 
"2020-02-29T23:59:58Z" ) )
-jar.stream().forEach { assert expectedTimestamp.equals( 
it.getLastModifiedTime() ) }
+FileTime expectedTimestamp = 
FileTime.fromMillis(normalizeUTC("2020-02-29T23:59:58Z"))
+jar.stream().forEach {
+    assert expectedTimestamp.equals(it.getLastModifiedTime())
+}
diff --git a/src/it/projects/site-failOnError/verify.groovy 
b/src/it/projects/site-failOnError/verify.groovy
index 0dd46514..aaaa7609 100644
--- a/src/it/projects/site-failOnError/verify.groovy
+++ b/src/it/projects/site-failOnError/verify.groovy
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-def log = new File( basedir, 'build.log' ).text
+def log = new File(basedir, 'build.log').text
 
 // javadoc fails on this project (no public class), the report logs the error 
...
-assert log.contains( 'No public or protected classes found to document.' )
-assert log.contains( '[ERROR] Error while creating javadoc report: ' )
+assert log.contains('No public or protected classes found to document.')
+assert log.contains('[ERROR] Error while creating javadoc report: ')
 // ... and with failOnError=false the site build still succeeds
-assert log.contains( 'BUILD SUCCESS' )
-assert new File( basedir, 'target/site/index.html' ).isFile()
+assert log.contains('BUILD SUCCESS')
+assert new File(basedir, 'target/site/index.html').isFile()

Reply via email to