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-reporting-exec.git

commit d1caa24b80957513010329833ecf5a935d6b8e9d
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 23:12:56 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/different-doxia-versions/verify.groovy      |  8 ++++----
 src/it/pluginManagement_dependencies/verify.groovy |  8 ++++----
 src/it/reportConfig/verify.groovy                  | 18 +++++++++---------
 3 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/it/different-doxia-versions/verify.groovy 
b/src/it/different-doxia-versions/verify.groovy
index 176e130..ca11664 100644
--- a/src/it/different-doxia-versions/verify.groovy
+++ b/src/it/different-doxia-versions/verify.groovy
@@ -18,12 +18,12 @@
  * under the License.
  */
 
-File report = new File( basedir, "target/site/changes.html" );
+File report = new File(basedir, "target/site/changes.html")
 assert report.exists() && !report.isDirectory() : "report file is missing or a 
directory."
-String reportContent = report.getText( 'UTF-8' );
+String reportContent = report.getText( 'UTF-8' )
 
-int indexOf = reportContent.indexOf( "Changes" );
+int indexOf = reportContent.indexOf( "Changes" )
 assert indexOf >= 0 : "changes.html doesn't contains Changes Report title"
 
-indexOf = reportContent.indexOf( "href=\"http://localhost/MCHANGES-88\""; );
+indexOf = reportContent.indexOf( "href=\"http://localhost/MCHANGES-88\""; )
 assert indexOf >= 0 : "changes.html doesn't contains jira issue link"
diff --git a/src/it/pluginManagement_dependencies/verify.groovy 
b/src/it/pluginManagement_dependencies/verify.groovy
index e02af3a..8025a37 100644
--- a/src/it/pluginManagement_dependencies/verify.groovy
+++ b/src/it/pluginManagement_dependencies/verify.groovy
@@ -18,9 +18,9 @@
  * under the License.
  */
 
-content = new File( basedir, 'build.log' ).text;
+content = new File(basedir, 'build.log').text
 
-assert !content.contains( 'com.puppycrawl.tools:checkstyle:jar:5.6' );
-assert content.contains( 'com.puppycrawl.tools:checkstyle:jar:9.3' );
+assert !content.contains('com.puppycrawl.tools:checkstyle:jar:5.6')
+assert content.contains('com.puppycrawl.tools:checkstyle:jar:9.3')
 
-return true;
+return true
diff --git a/src/it/reportConfig/verify.groovy 
b/src/it/reportConfig/verify.groovy
index 4a1cdc4..34860d3 100644
--- a/src/it/reportConfig/verify.groovy
+++ b/src/it/reportConfig/verify.groovy
@@ -17,19 +17,19 @@
  * under the License.
  */
 
- File f = new File( basedir, 'target/site/configuration.html' );
-assert f.exists();
-content = f.text;
+File f = new File(basedir, 'target/site/configuration.html')
+assert f.exists()
+content = f.text
 
 // parameter merged from pluginManagement
-assert content.contains( 'pluginManagement = pluginManagement' );
+assert content.contains('pluginManagement = pluginManagement')
 // parameter from build.plugin is not merged
-assert content.contains( 'buildPlugin = null' );
+assert content.contains('buildPlugin = null')
 // parameter from build.plugin is not merged but pluginManagement
-assert content.contains( 'buildAndManagement = pluginManagement' );
+assert content.contains('buildAndManagement = pluginManagement')
 // parameter from reporting.plugin wins over pluginManagement
-assert content.contains( 'reportingPlugin = reporting.plugin' );
+assert content.contains('reportingPlugin = reporting.plugin')
 // parameter from reporting.plugin.reportSet wins over reporting.plugin and 
pluginManagement
-assert content.contains( 'reportingPluginReportSet = 
reporting.plugin.reportSet' );
+assert content.contains('reportingPluginReportSet = 
reporting.plugin.reportSet')
 
-return true;
+return true

Reply via email to