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-impl.git
commit 50d8b6a07cbbbc47549003e68a781e745f88ecfe Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Wed Nov 25 20:41:55 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/use-as-direct-mojo-2/verify.groovy | 28 +++++++-------- src/it/use-as-direct-mojo-markup-2/verify.groovy | 22 ++++++------ src/it/use-as-direct-mojo/verify.groovy | 46 ++++++++++++------------ src/it/use-as-site-report/verify.groovy | 46 ++++++++++++------------ 4 files changed, 71 insertions(+), 71 deletions(-) diff --git a/src/it/use-as-direct-mojo-2/verify.groovy b/src/it/use-as-direct-mojo-2/verify.groovy index 3a9f6f0..07f93be 100644 --- a/src/it/use-as-direct-mojo-2/verify.groovy +++ b/src/it/use-as-direct-mojo-2/verify.groovy @@ -17,21 +17,21 @@ * under the License. */ -File outputDir = new File( basedir, 'target/custom-reports/' ) +File outputDir = new File(basedir, 'target/custom-reports/') -File f = new File( outputDir, 'custom-report.html' ); -assert f.exists(); -assert f.text.contains( 'Custom Maven Report content.' ); +File f = new File(outputDir, 'custom-report.html') +assert f.exists() +assert f.text.contains('Custom Maven Report content.') -f = new File( outputDir, 'custom-report-with-renderer.html' ); -assert f.exists(); -text = f.text.normalize(); -assert text.contains( 'Custom Maven Report with Renderer content.' ); -assert text.contains( '<pre>Custom verbatim text.</pre>' ); -assert text.contains( '<pre class="prettyprint"><code>var custom_code = true;</code></pre>' ); +f = new File(outputDir, 'custom-report-with-renderer.html') +assert f.exists() +text = f.text.normalize() +assert text.contains('Custom Maven Report with Renderer content.') +assert text.contains('<pre>Custom verbatim text.</pre>') +assert text.contains('<pre class="prettyprint"><code>var custom_code = true;</code></pre>') -f = new File( outputDir, 'external/report.html' ); -assert f.exists(); -assert f.text.contains( '<h1>External Report</h1>' ); +f = new File(outputDir, 'external/report.html') +assert f.exists() +assert f.text.contains('<h1>External Report</h1>') -return true; +return true diff --git a/src/it/use-as-direct-mojo-markup-2/verify.groovy b/src/it/use-as-direct-mojo-markup-2/verify.groovy index 09f1367..72fffb5 100644 --- a/src/it/use-as-direct-mojo-markup-2/verify.groovy +++ b/src/it/use-as-direct-mojo-markup-2/verify.groovy @@ -17,18 +17,18 @@ * under the License. */ -File outputDir = new File( basedir, 'target/custom-reports/' ) +File outputDir = new File(basedir, 'target/custom-reports/') -File f = new File( outputDir, 'custom-report.xdoc' ); -assert f.exists(); -assert f.text.contains( 'Custom Maven Report content.' ); +File f = new File(outputDir, 'custom-report.xdoc') +assert f.exists() +assert f.text.contains('Custom Maven Report content.') -f = new File( outputDir, 'custom-report-with-renderer.apt' ); -assert f.exists(); -assert f.text.contains( 'Custom Maven Report with Renderer content.' ); +f = new File(outputDir, 'custom-report-with-renderer.apt') +assert f.exists() +assert f.text.contains('Custom Maven Report with Renderer content.') -f = new File( outputDir, 'external/report.html' ); -assert f.exists(); -assert f.text.contains( '<h1>External Report</h1>' ); +f = new File(outputDir, 'external/report.html') +assert f.exists() +assert f.text.contains('<h1>External Report</h1>') -return true; +return true diff --git a/src/it/use-as-direct-mojo/verify.groovy b/src/it/use-as-direct-mojo/verify.groovy index 6233fa2..3e07151 100644 --- a/src/it/use-as-direct-mojo/verify.groovy +++ b/src/it/use-as-direct-mojo/verify.groovy @@ -17,32 +17,32 @@ * under the License. */ -File outputDir = new File( basedir, 'target/reports/' ) +File outputDir = new File(basedir, 'target/reports/') -File f = new File( outputDir, 'custom-report.html' ); -assert f.exists(); -assert f.text.contains( 'Custom Maven Report content.' ); +File f = new File(outputDir, 'custom-report.html') +assert f.exists() +assert f.text.contains('Custom Maven Report content.') -f = new File( outputDir, 'custom-report-with-renderer.html' ); -assert f.exists(); -text = f.text.normalize(); -assert text.contains( 'Custom Maven Report with Renderer content.' ); -assert text.contains( '<pre>Custom verbatim text.</pre>' ); -assert text.contains( '<pre class="prettyprint"><code>var custom_code = true;</code></pre>' ); +f = new File(outputDir, 'custom-report-with-renderer.html') +assert f.exists() +text = f.text.normalize() +assert text.contains('Custom Maven Report with Renderer content.') +assert text.contains('<pre>Custom verbatim text.</pre>') +assert text.contains('<pre class="prettyprint"><code>var custom_code = true;</code></pre>') -f = new File( outputDir, 'external/report.html' ); -assert f.exists(); -assert f.text.contains( '<h1>External Report</h1>' ); +f = new File(outputDir, 'external/report.html') +assert f.exists() +assert f.text.contains('<h1>External Report</h1>') -f = new File( outputDir, 'multi-page.html' ); -assert f.exists(); -assert f.text.contains( 'Custom Maven Report with Renderer content.' ); +f = new File(outputDir, 'multi-page.html') +assert f.exists() +assert f.text.contains('Custom Maven Report with Renderer content.') -f = new File( outputDir, 'multi-second.html' ); -assert f.exists(); -text = f.text.normalize(); -assert text.contains( '<title>Second Page Title' ); -assert text.contains( 'Second page content.' ); -assert !text.contains( 'Custom Maven Report with Renderer content.' ); +f = new File(outputDir, 'multi-second.html') +assert f.exists() +text = f.text.normalize() +assert text.contains('<title>Second Page Title') +assert text.contains('Second page content.') +assert !text.contains('Custom Maven Report with Renderer content.') -return true; +return true diff --git a/src/it/use-as-site-report/verify.groovy b/src/it/use-as-site-report/verify.groovy index 81fc04b..b0a31db 100644 --- a/src/it/use-as-site-report/verify.groovy +++ b/src/it/use-as-site-report/verify.groovy @@ -17,32 +17,32 @@ * under the License. */ -File site = new File( basedir, 'target/site/' ) +File site = new File(basedir, 'target/site/') -File f = new File( site, 'custom-report.html' ); -assert f.exists(); -assert f.text.contains( 'Custom Maven Report content.' ); +File f = new File(site, 'custom-report.html') +assert f.exists() +assert f.text.contains('Custom Maven Report content.') -f = new File( site, 'custom-report-with-renderer.html' ); -assert f.exists(); -text = f.text.normalize(); -assert text.contains( 'Custom Maven Report with Renderer content.' ); -assert text.contains( '<pre>Custom verbatim text.</pre>' ); -assert text.contains( '<pre class="prettyprint"><code>var custom_code = true;</code></pre>' ); +f = new File(site, 'custom-report-with-renderer.html') +assert f.exists() +text = f.text.normalize() +assert text.contains('Custom Maven Report with Renderer content.') +assert text.contains('<pre>Custom verbatim text.</pre>') +assert text.contains('<pre class="prettyprint"><code>var custom_code = true;</code></pre>') -f = new File( site, 'external/report.html' ); -assert f.exists(); -assert f.text.contains( '<h1>External Report</h1>' ); +f = new File(site, 'external/report.html') +assert f.exists() +assert f.text.contains('<h1>External Report</h1>') -f = new File( site, 'multi-page.html' ); -assert f.exists(); -assert f.text.contains( 'Custom Maven Report with Renderer content.' ); +f = new File(site, 'multi-page.html') +assert f.exists() +assert f.text.contains('Custom Maven Report with Renderer content.') -f = new File( site, 'multi-second.html' ); -assert f.exists(); -text = f.text.normalize(); -assert text.contains( '<title>Second Page Title' ); -assert text.contains( 'Second page content.' ); -assert !text.contains( 'Custom Maven Report with Renderer content.' ); +f = new File(site, 'multi-second.html') +assert f.exists() +text = f.text.normalize() +assert text.contains('<title>Second Page Title') +assert text.contains('Second page content.') +assert !text.contains('Custom Maven Report with Renderer content.') -return true; +return true
