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-project-info-reports-plugin.git

commit 31fa0d23b8c5a6619c4bf41e5f88be044b4f603e
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 22:50:15 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/MPIR-242/verify.groovy                      |   4 +-
 src/it/MPIR-251/verify.groovy                      |   4 +-
 src/it/MPIR-300/verify.groovy                      |  12 +--
 src/it/MPIR-349/parent/verify.groovy               |   8 +-
 src/it/MPIR-375/verify.groovy                      |  12 +--
 src/it/MPIR-407/verify.groovy                      |   6 +-
 src/it/MPIR-412/verify.groovy                      |   8 +-
 src/it/MPIR-431/verify.groovy                      |   4 +-
 src/it/MPIR-437/verify.groovy                      |   4 +-
 src/it/MPIR-455/verify.groovy                      |   4 +-
 src/it/MPIR-460-jar/verify.groovy                  |   2 +-
 src/it/MPIR-460-maven-plugin/verify.groovy         |   2 +-
 src/it/MPIR-473/verify.groovy                      |   8 +-
 .../MPIR-477-range-snapshot-disabled/verify.groovy |   2 +-
 .../MPIR-477-range-snapshot-enabled/verify.groovy  |   2 +-
 src/it/dependencies-java-1.7-and-1.8/verify.groovy |   6 +-
 src/it/full-pom/verify.groovy                      | 114 ++++++++++++---------
 src/it/java-version/verify.groovy                  |   8 +-
 src/it/minimal-pom/verify.groovy                   |  43 ++++----
 src/it/mpir-229/verify.groovy                      |   4 +-
 src/it/multi-module/verify.groovy                  |   6 +-
 src/it/team-local-avatars/verify.groovy            |   2 +-
 22 files changed, 136 insertions(+), 129 deletions(-)

diff --git a/src/it/MPIR-242/verify.groovy b/src/it/MPIR-242/verify.groovy
index 25de060..ed06a30 100644
--- a/src/it/MPIR-242/verify.groovy
+++ b/src/it/MPIR-242/verify.groovy
@@ -16,8 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File licensesPage = new File( basedir, 'target/site/licenses.html' )
+File licensesPage = new File(basedir, 'target/site/licenses.html')
 assert licensesPage.exists()
 // assert licensesPage.text.contains( 'Свобода всему коду!' )
 // Raw UTF-8 bytes written by Doxia and converted from ISO-8859-5
-assert licensesPage.text.contains( 
'&#x421;&#x432;&#x43e;&#x431;&#x43e;&#x434;&#x430; 
&#x432;&#x441;&#x435;&#x43c;&#x443; &#x43a;&#x43e;&#x434;&#x443;!' )
+assert 
licensesPage.text.contains('&#x421;&#x432;&#x43e;&#x431;&#x43e;&#x434;&#x430; 
&#x432;&#x441;&#x435;&#x43c;&#x443; &#x43a;&#x43e;&#x434;&#x443;!')
diff --git a/src/it/MPIR-251/verify.groovy b/src/it/MPIR-251/verify.groovy
index c5c6d41..6956575 100644
--- a/src/it/MPIR-251/verify.groovy
+++ b/src/it/MPIR-251/verify.groovy
@@ -16,5 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File log = new File( basedir, 'build.log' )
-assert !( log.text =~ /\[WARNING\] Artifact .+ has no file and won't be listed 
in dependency files details\./ )
+File log = new File(basedir, 'build.log')
+assert !(log.text =~ /\[WARNING\] Artifact .+ has no file and won't be listed 
in dependency files details\./)
diff --git a/src/it/MPIR-300/verify.groovy b/src/it/MPIR-300/verify.groovy
index 1aaeb1b..157fdae 100644
--- a/src/it/MPIR-300/verify.groovy
+++ b/src/it/MPIR-300/verify.groovy
@@ -17,18 +17,18 @@
  * under the License.
  */
 
-plugins = new File( basedir, 'target/reports/plugins.html' ).text;
+plugins = new File(basedir, 'target/reports/plugins.html').text
 
 // version of maven-invoker-plugin is defined in pluginManagement
-assert plugins.contains( '<td>1.invoker-pluginManagement</td>' );
+assert plugins.contains('<td>1.invoker-pluginManagement</td>')
 
 // version of maven-javadoc-plugin is defined in plugins (overriding 
pluginManagement)
-assert plugins.contains( '<td>2.javadoc-plugin</td>' );
+assert plugins.contains('<td>2.javadoc-plugin</td>')
 
 // version of maven-checkstyle-plugin is defined in plugins
-assert plugins.contains( '<td>2.checkstyle-plugin</td>' );
+assert plugins.contains('<td>2.checkstyle-plugin</td>')
 
 // version of maven-changes-plugin is defined in reporting (overriding 
pluginManagement and plugins)
-assert plugins.contains( '<td>3.changes-reporting</td>' );
+assert plugins.contains('<td>3.changes-reporting</td>')
 
-return true;
+return true
diff --git a/src/it/MPIR-349/parent/verify.groovy 
b/src/it/MPIR-349/parent/verify.groovy
index 39493c6..f2f18aa 100644
--- a/src/it/MPIR-349/parent/verify.groovy
+++ b/src/it/MPIR-349/parent/verify.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-File indexPage = new File( basedir, 'target/reports/index.html' )
-assert !indexPage.text.contains( 'sitePublishLocation' )
+File indexPage = new File(basedir, 'target/reports/index.html')
+assert !indexPage.text.contains('sitePublishLocation')
 
-File modulesPage = new File( basedir, 'target/reports/modules.html' )
-assert !modulesPage.text.contains( 'sitePublishLocation' )
+File modulesPage = new File(basedir, 'target/reports/modules.html')
+assert !modulesPage.text.contains('sitePublishLocation')
diff --git a/src/it/MPIR-375/verify.groovy b/src/it/MPIR-375/verify.groovy
index 976582d..a8bc101 100644
--- a/src/it/MPIR-375/verify.groovy
+++ b/src/it/MPIR-375/verify.groovy
@@ -16,14 +16,14 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File log = new File( basedir, 'build.log' );
-assert !( 
log.text.contains("org.eclipse.aether.transfer.ArtifactNotFoundException: 
Failure to find org.eclipse.m2e:lifecycle-mapping:pom") );
+File log = new File(basedir, 'build.log')
+assert 
!(log.text.contains("org.eclipse.aether.transfer.ArtifactNotFoundException: 
Failure to find org.eclipse.m2e:lifecycle-mapping:pom"))
 
-plugins = new File( basedir, 'target/reports/plugin-management.html' ).text;
+plugins = new File(basedir, 'target/reports/plugin-management.html').text
 
 // maven-javadoc-plugin is defined in pluginManagement and not excluded
-assert plugins.contains( 'maven-javadoc-plugin' );
+assert plugins.contains('maven-javadoc-plugin')
 
 // org.eclipse.m2e:lifecycle-mapping plugin is excluded
-assert !( plugins.contains( 'org.eclipse.m2e' ) );
-assert !( plugins.contains( 'lifecycle-mapping' ) );
+assert !(plugins.contains('org.eclipse.m2e'))
+assert !(plugins.contains('lifecycle-mapping'))
diff --git a/src/it/MPIR-407/verify.groovy b/src/it/MPIR-407/verify.groovy
index 33fa669..a8d6b4b 100644
--- a/src/it/MPIR-407/verify.groovy
+++ b/src/it/MPIR-407/verify.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-dependencies = new File( basedir, 'target/reports/dependencies.html' ).text;
+dependencies = new File(basedir, 'target/reports/dependencies.html').text
 
-assert !( dependencies.contains( 'The Apache Software License, Version 2.0' ) 
);
-assert !( dependencies.contains( 'Apache Public License 2.0' ) );
+assert !(dependencies.contains('The Apache Software License, Version 2.0'))
+assert !(dependencies.contains('Apache Public License 2.0'))
diff --git a/src/it/MPIR-412/verify.groovy b/src/it/MPIR-412/verify.groovy
index 8e9e8af..f78c8e8 100644
--- a/src/it/MPIR-412/verify.groovy
+++ b/src/it/MPIR-412/verify.groovy
@@ -20,7 +20,7 @@
 import groovy.xml.XmlParser
 
 // should be able to parse the output as XML
-parser = new XmlParser();
-parser.setFeature( 'http://apache.org/xml/features/disallow-doctype-decl', 
false );
-result = parser.parse( new File( basedir, 'target/reports/dependencies.html' ) 
);
-assert result instanceof Node;
+parser = new XmlParser()
+parser.setFeature('http://apache.org/xml/features/disallow-doctype-decl', 
false)
+result = parser.parse(new File(basedir, 'target/reports/dependencies.html'))
+assert result instanceof Node
diff --git a/src/it/MPIR-431/verify.groovy b/src/it/MPIR-431/verify.groovy
index 11b6b71..79a6d8e 100644
--- a/src/it/MPIR-431/verify.groovy
+++ b/src/it/MPIR-431/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String html = new File( basedir, 'target/reports/dependencies.html' ).text
+String html = new File(basedir, 'target/reports/dependencies.html').text
 
 // Revise after DOXIA-704
 def summaryLine = '''\
@@ -51,4 +51,4 @@ def summaryLine = '''\
 <td style="text-align: center;">1.8</td>
 <td style="text-align: right;">test: 3</td></tr>'''
 
-assert html.contains( summaryLine.replaceAll( "\n", System.lineSeparator() ) )
+assert html.contains(summaryLine.replaceAll("\n", System.lineSeparator()))
diff --git a/src/it/MPIR-437/verify.groovy b/src/it/MPIR-437/verify.groovy
index 65e9c8e..7dae57c 100644
--- a/src/it/MPIR-437/verify.groovy
+++ b/src/it/MPIR-437/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File dependencies = new File( basedir, 'target/reports/dependencies.html' )
+File dependencies = new File(basedir, 'target/reports/dependencies.html')
 def summaryRow = '''\
 <tr class="b">
 <td style="text-align: right;">1</td>
@@ -28,4 +28,4 @@ def summaryRow = '''\
 <td style="text-align: right;">-</td></tr>
 '''
 
-assert dependencies.text.contains( summaryRow.replaceAll( "\n", 
System.lineSeparator() ) )
+assert dependencies.text.contains(summaryRow.replaceAll("\n", 
System.lineSeparator()))
diff --git a/src/it/MPIR-455/verify.groovy b/src/it/MPIR-455/verify.groovy
index 1d9acde..fab6a61 100644
--- a/src/it/MPIR-455/verify.groovy
+++ b/src/it/MPIR-455/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String html = new File( basedir, 'target/reports/dependencies.html' 
).text.normalize()
+String html = new File(basedir, 
'target/reports/dependencies.html').text.normalize()
 
 def summaryLine = '''\
 <tr class="b">
@@ -116,4 +116,4 @@ def summaryLine = '''\
 <td style="text-align: center;">11</td>
 <td style="text-align: center;">Yes</td></tr>'''
 
-assert html.contains( summaryLine.normalize() )
+assert html.contains(summaryLine.normalize())
diff --git a/src/it/MPIR-460-jar/verify.groovy 
b/src/it/MPIR-460-jar/verify.groovy
index efb3156..38c39a4 100644
--- a/src/it/MPIR-460-jar/verify.groovy
+++ b/src/it/MPIR-460-jar/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-def report = new File( basedir, 'target/reports/dependency-info.html' ).text
+def report = new File(basedir, 'target/reports/dependency-info.html').text
 
 assert !report.contains('<pre>&lt;plugin&gt;')
 assert !report.contains('&lt;/plugin&gt;</pre>')
diff --git a/src/it/MPIR-460-maven-plugin/verify.groovy 
b/src/it/MPIR-460-maven-plugin/verify.groovy
index 046b5ea..ef2031b 100644
--- a/src/it/MPIR-460-maven-plugin/verify.groovy
+++ b/src/it/MPIR-460-maven-plugin/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-def report = new File( basedir, 'target/reports/dependency-info.html' ).text
+def report = new File(basedir, 'target/reports/dependency-info.html').text
 
 assert report.contains('<pre>&lt;plugin&gt;')
 assert report.contains('&lt;/plugin&gt;</pre>')
diff --git a/src/it/MPIR-473/verify.groovy b/src/it/MPIR-473/verify.groovy
index 4cd2b3d..76bcccf 100644
--- a/src/it/MPIR-473/verify.groovy
+++ b/src/it/MPIR-473/verify.groovy
@@ -16,12 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File file = new File( basedir, "build.log" )
+File file = new File(basedir, "build.log")
 assert file.exists()
 
-String buildLog = file.getText( "UTF-8" )
-// Dependency zzz.not.existing:artifact shouldn't be downloaded from the 
repository apache.snapshots, 
-// configured only in dependency maven-reporting-api handled before.  
+String buildLog = file.getText("UTF-8")
+// Dependency zzz.not.existing:artifact shouldn't be downloaded from the 
repository apache.snapshots,
+// configured only in dependency maven-reporting-api handled before.
 assert !buildLog.contains('[INFO] Downloading from apache.snapshots: 
https://repository.apache.org/snapshots/zzz/not/existing/artifact/1.2.3-SNAPSHOT/artifact-1.2.3-SNAPSHOT.pom')
 
 return true
\ No newline at end of file
diff --git a/src/it/MPIR-477-range-snapshot-disabled/verify.groovy 
b/src/it/MPIR-477-range-snapshot-disabled/verify.groovy
index 84efdb0..32cf66a 100644
--- a/src/it/MPIR-477-range-snapshot-disabled/verify.groovy
+++ b/src/it/MPIR-477-range-snapshot-disabled/verify.groovy
@@ -19,5 +19,5 @@
 String html = new File(basedir, 
"target/reports/dependency-management.html").text.normalize()
 // assert the resolved version by using the <url> of the dependency in its 
pom.xml file, since the version is not printed in the report
 assert html.contains("https://mpir477.example.org/release-1.1";) :
-    "range [1.0,) against a repository with snapshots disabled should resolve 
to the highest release"
+"range [1.0,) against a repository with snapshots disabled should resolve to 
the highest release"
 assert !html.contains("snapshot-1.2")
diff --git a/src/it/MPIR-477-range-snapshot-enabled/verify.groovy 
b/src/it/MPIR-477-range-snapshot-enabled/verify.groovy
index 93e0142..2fec4c6 100644
--- a/src/it/MPIR-477-range-snapshot-enabled/verify.groovy
+++ b/src/it/MPIR-477-range-snapshot-enabled/verify.groovy
@@ -19,5 +19,5 @@
 String html = new File(basedir, 
"target/reports/dependency-management.html").text.normalize()
 // assert the resolved version by using the <url> of the dependency in its 
pom.xml file, since the version is not printed in the reportR
 assert html.contains("https://mpir477.example.org/snapshot-1.2";) :
-    "range [1.0,) against a repository with snapshots enabled should resolve 
to 1.2-SNAPSHOT"
+"range [1.0,) against a repository with snapshots enabled should resolve to 
1.2-SNAPSHOT"
 assert !html.contains("release-1.1")
diff --git a/src/it/dependencies-java-1.7-and-1.8/verify.groovy 
b/src/it/dependencies-java-1.7-and-1.8/verify.groovy
index 2a344fe..645d5ff 100644
--- a/src/it/dependencies-java-1.7-and-1.8/verify.groovy
+++ b/src/it/dependencies-java-1.7-and-1.8/verify.groovy
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File dependencies = new File( basedir, 'target/site/dependencies.html' )
+File dependencies = new File(basedir, 'target/site/dependencies.html')
 def mavenModel = '''\
 <tr class="a">
 <td style="text-align: left;">maven-model-3.3.9.jar</td>
@@ -39,5 +39,5 @@ def jacksonDataTypeJsr310 = '''\
 <td style="text-align: center;">Yes</td></tr>
 '''
 
-assert dependencies.text.contains( mavenModel.replaceAll( "\n", 
System.getProperty( "line.separator" ) ) )
-assert dependencies.text.contains( jacksonDataTypeJsr310.replaceAll( "\n", 
System.getProperty( "line.separator" ) ) )
+assert dependencies.text.contains(mavenModel.replaceAll("\n", 
System.getProperty("line.separator")))
+assert dependencies.text.contains(jacksonDataTypeJsr310.replaceAll("\n", 
System.getProperty("line.separator")))
diff --git a/src/it/full-pom/verify.groovy b/src/it/full-pom/verify.groovy
index c3b28f2..2030361 100644
--- a/src/it/full-pom/verify.groovy
+++ b/src/it/full-pom/verify.groovy
@@ -17,71 +17,85 @@
  * under the License.
  */
 
-File siteDir = new File( basedir, "target/site" );
+File siteDir = new File(basedir, "target/site")
 assert siteDir.isDirectory() : "Site directory not existent: " + siteDir
-String[] reports = [ "index",                  // <report>index</report>
-                     "summary",                // <report>summary</report>
-                     "licenses",               // <report>licenses</report>
-                     "team",                   // <report>team</report>
-                     "scm",                    // <report>scm</report>
-                     "issue-management",       // 
<report>issue-management</report>
-                     "mailing-lists",          // 
<report>mailing-lists</report>
-                     "dependency-info",        // 
<report>dependency-info</report>
-                     "dependency-management",  // 
<report>dependency-management</report>
-                     "dependencies",           // <report>dependencies</report>
-                     "dependency-convergence", // 
<report>dependency-convergence</report>
-                     "ci-management",          // 
<report>ci-management</report>
-                     "plugin-management",      // 
<report>plugin-management</report>
-                     "plugins",                // <report>plugins</report>
-                     "distribution-management" // 
<report>distribution-management</report>
-                   ] as String[];
-
-String info = new File( siteDir, "project-info.html" ).getText( 'UTF-8' );
-
-int index1 = 10;
-int index2 = 10;
-String previousReportLink;
+String[] reports = [
+    "index",
+    // <report>index</report>
+    "summary",
+    // <report>summary</report>
+    "licenses",
+    // <report>licenses</report>
+    "team",
+    // <report>team</report>
+    "scm",
+    // <report>scm</report>
+    "issue-management",
+    // <report>issue-management</report>
+    "mailing-lists",
+    // <report>mailing-lists</report>
+    "dependency-info",
+    // <report>dependency-info</report>
+    "dependency-management",
+    // <report>dependency-management</report>
+    "dependencies",
+    // <report>dependencies</report>
+    "dependency-convergence",
+    // <report>dependency-convergence</report>
+    "ci-management",
+    // <report>ci-management</report>
+    "plugin-management",
+    // <report>plugin-management</report>
+    "plugins",
+    // <report>plugins</report>
+    "distribution-management" // <report>distribution-management</report>
+] as String[]
+
+String info = new File( siteDir, "project-info.html" ).getText( 'UTF-8' )
+
+int index1 = 10
+int index2 = 10
+String previousReportLink
 
 // MPIR-182: verify order of reports
-for ( String report : reports )
-{
-    File reportFile = new File( siteDir, report + ".html" );
+for ( String report : reports ) {
+    File reportFile = new File( siteDir, report + ".html" )
     assert reportFile.isFile() : "Report file not existent: " + reportFile
 
-    String link = "<a href=\"" + reportFile.getName() + "\"";
-    int i1 = info.indexOf( link );
-    int i2 = info.indexOf( link, i1 + 1 );
+    String link = "<a href=\"" + reportFile.getName() + "\""
+    int i1 = info.indexOf( link )
+    int i2 = info.indexOf( link, i1 + 1 )
 
     assert i1 >= index1 : "Wrong order for first report link: expected " + 
previousReportLink + " -> " + link + ", but found " + i1 + " < " + index1 +
-        "\n   previous report link: " + info.substring( index1 - 10, index1 + 
70 ) +
-        "\n     actual report link: " + info.substring( i1 - 10, i1 + 70 )
+    "\n   previous report link: " + info.substring( index1 - 10, index1 + 70 ) 
+
+    "\n     actual report link: " + info.substring( i1 - 10, i1 + 70 )
     assert i2 >= index2 : "Wrong order for second report link: expected " + 
previousReportLink + " -> " + link + ", but found " + i2 + " < " + index2 +
-        "\n   previous report link: " + info.substring( index2 - 10, index2 + 
70 ) +
-        "\n     actual report link: " + info.substring( i2 - 10, i2 + 70 )
+    "\n   previous report link: " + info.substring( index2 - 10, index2 + 70 ) 
+
+    "\n     actual report link: " + info.substring( i2 - 10, i2 + 70 )
 
-    index1 = i1;
-    index2 = i2;
-    previousReportLink = link;
+    index1 = i1
+    index2 = i2
+    previousReportLink = link
 }
 
-File mailinglists = new File( siteDir, "mailing-lists.html");
-String content = mailinglists.getText( 'UTF-8' );
+File mailinglists = new File( siteDir, "mailing-lists.html")
+String content = mailinglists.getText( 'UTF-8' )
 assert content.contains( "mail list intro text foo" ) : "mailing-lists.html 
doesn't contain mail list intro text foo"
 
-mailinglists = new File( siteDir, "de/mailing-lists.html");
-content = mailinglists.getText( 'UTF-8' );
+mailinglists = new File( siteDir, "de/mailing-lists.html")
+content = mailinglists.getText( 'UTF-8' )
 assert content.contains( "mail list intro text foo (&quot;de&quot;)" ) : 
"de/mailing-lists.html doesn't contain mail list intro text foo (\"de\")"
 
-mailinglists = new File( siteDir, "fr/mailing-lists.html");
-content = mailinglists.getText( 'UTF-8' );
+mailinglists = new File( siteDir, "fr/mailing-lists.html")
+content = mailinglists.getText( 'UTF-8' )
 assert content.contains( "mail list intro text foo (&quot;fr&quot;)" ) : 
"fr/mailing-lists.html doesn't contain mail list intro text foo (\"fr\")"
 
-mailinglists = new File( siteDir, "sv/mailing-lists.html");
-content = mailinglists.getText( 'UTF-8' );
+mailinglists = new File( siteDir, "sv/mailing-lists.html")
+content = mailinglists.getText( 'UTF-8' )
 assert content.contains( "mail list intro text foo" ) : "sv/mailing-lists.html 
doesn't contain mail list intro text foo"
 
-File dependencies = new File( siteDir, "dependencies.html");
-content = dependencies.getText( 'UTF-8' );
+File dependencies = new File( siteDir, "dependencies.html")
+content = dependencies.getText( 'UTF-8' )
 assert content.contains( "doxia-core-1.2.jar" ) : "dependencies.html doesn't 
contain doxia-core-1.2.jar"
 
 // MPIR #687: tree details use <details>/<summary>, no images or JavaScript
@@ -89,12 +103,12 @@ assert content.contains( "<details><summary>" ) && 
content.contains( "</details>
 assert !( content.contains( "toggleDependencyDetails" ) || content.contains( 
"icon_info_sml" ) || content.contains( "close.gif" ) ) : "dependencies.html 
still uses images or JavaScript for dependency details"
 
 // MPIR-216: dependency with range
-File dependencyMgmt = new File( siteDir, "dependency-management.html");
-content = dependencyMgmt.getText( 'UTF-8' );
+File dependencyMgmt = new File( siteDir, "dependency-management.html")
+content = dependencyMgmt.getText( 'UTF-8' )
 assert content.contains( 
"https://maven.apache.org/doxia/doxia/doxia-sink-api/"; ) : "MPIR-216: 
dependency-management doesn't contain doxia-sink-api url 
https://maven.apache.org/doxia/doxia/doxia-sink-api/";
 
-File dependencyConvergence = new File( siteDir, "dependency-convergence.html");
-content = dependencyConvergence.getText( 'UTF-8' );
+File dependencyConvergence = new File( siteDir, "dependency-convergence.html")
+content = dependencyConvergence.getText( 'UTF-8' )
 
 assert content.contains( "You do not have 100% convergence." ) : 
"dependency-convergence not rendered correctly"
 
diff --git a/src/it/java-version/verify.groovy 
b/src/it/java-version/verify.groovy
index d50c5ed..b1802d4 100644
--- a/src/it/java-version/verify.groovy
+++ b/src/it/java-version/verify.groovy
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-assert new File( basedir, 'plugin/target/reports/summary.html' 
).text.contains( '<td>5</td>' )
-assert new File( basedir, 'pluginManagement/target/reports/summary.html' 
).text.contains( '<td>1.4</td>' )
-assert new File( basedir, 'property/target/reports/summary.html' 
).text.contains( '<td>1.3</td>' )
+assert new File(basedir, 
'plugin/target/reports/summary.html').text.contains('<td>5</td>')
+assert new File(basedir, 
'pluginManagement/target/reports/summary.html').text.contains('<td>1.4</td>')
+assert new File(basedir, 
'property/target/reports/summary.html').text.contains('<td>1.3</td>')
 
-return true;
+return true
diff --git a/src/it/minimal-pom/verify.groovy b/src/it/minimal-pom/verify.groovy
index b7276df..81940b7 100644
--- a/src/it/minimal-pom/verify.groovy
+++ b/src/it/minimal-pom/verify.groovy
@@ -17,37 +17,30 @@
  * under the License.
  */
 
-File siteDir = new File( basedir, "target/site" );
+File siteDir = new File(basedir, "target/site")
 assert siteDir.isDirectory() : "Site directory not existent: " + siteDir
 
-String[] reports = [ "dependency-info",
-                     "index",
-                     "plugin-management",
-                     "plugins",
-                     "project-info",
-                     "summary"
-                   ] as String[];
+String[] reports = ["dependency-info", "index", "plugin-management", 
"plugins", "project-info", "summary"] as String[]
 
-String[] skippedReports = [ "dependencies",
-                            "integration",
-                            "issue-management",
-                            "licenses",
-                            "mailing-lists",
-                            "scm",
-                            "dependency-management",
-                            "team",
-                            "distribution-management",
-                            "modules"
-                          ] as String[];
+String[] skippedReports = [
+    "dependencies",
+    "integration",
+    "issue-management",
+    "licenses",
+    "mailing-lists",
+    "scm",
+    "dependency-management",
+    "team",
+    "distribution-management",
+    "modules"
+] as String[]
 
-for ( String report : reports )
-{
-    File reportFile = new File( siteDir, report + ".html" );
+for ( String report : reports ) {
+    File reportFile = new File( siteDir, report + ".html" )
     assert reportFile.isFile() : "Report file not existent: " + reportFile
 }
 
-for ( String skippedReport : skippedReports )
-{
-    File skippedReportFile = new File( siteDir, skippedReport + ".html" );
+for ( String skippedReport : skippedReports ) {
+    File skippedReportFile = new File( siteDir, skippedReport + ".html" )
     assert !skippedReportFile.isFile() : "Skipped report file existent: " + 
skippedReportFile
 }
diff --git a/src/it/mpir-229/verify.groovy b/src/it/mpir-229/verify.groovy
index 6cf4daa..2a869b2 100644
--- a/src/it/mpir-229/verify.groovy
+++ b/src/it/mpir-229/verify.groovy
@@ -16,5 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-File modulesPage = new File( basedir, 'target/site/modules.html' )
-assert modulesPage.text.contains( '<a 
href="mpir-229-module1-1.0-SNAPSHOT/index.html">mpir-229-module1</a>' )
+File modulesPage = new File(basedir, 'target/site/modules.html')
+assert modulesPage.text.contains('<a 
href="mpir-229-module1-1.0-SNAPSHOT/index.html">mpir-229-module1</a>')
diff --git a/src/it/multi-module/verify.groovy 
b/src/it/multi-module/verify.groovy
index afc2cb4..80f9a47 100644
--- a/src/it/multi-module/verify.groovy
+++ b/src/it/multi-module/verify.groovy
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-File mainDependencies = new File( basedir, 
'main/target/site/dependencies.html' )
+File mainDependencies = new File(basedir, 'main/target/site/dependencies.html')
 
 // Dependency File Details section should display dep-1.0-SNAPSHOT.jar 
packaged from previous build (package phase),
 // not dep/target/classes from current build (site phase)
-assert !mainDependencies.text.contains( '<td style="text-align: 
left;">dep/target/classes</td>' )
-assert mainDependencies.text.contains( '<td style="text-align: 
left;">dep-1.0-SNAPSHOT.jar</td>' )
+assert !mainDependencies.text.contains('<td style="text-align: 
left;">dep/target/classes</td>')
+assert mainDependencies.text.contains('<td style="text-align: 
left;">dep-1.0-SNAPSHOT.jar</td>')
diff --git a/src/it/team-local-avatars/verify.groovy 
b/src/it/team-local-avatars/verify.groovy
index a912a3b..4f72b32 100644
--- a/src/it/team-local-avatars/verify.groovy
+++ b/src/it/team-local-avatars/verify.groovy
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-def team = new File( basedir, 'target/site/team.html' ).text
+def team = new File(basedir, 'target/site/team.html').text
 
 assert team.count('<figure><img 
src="avatars/90cc13b765c79d2d55ca64388ea2bc5f.jpg" alt="" /></figure>') == 1
 assert team.count('<figure><img 
src="avatars/00000000000000000000000000000000.jpg" alt="" /></figure>') == 2

Reply via email to