This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git
commit 8e34ac4ec374e7906506d6da59d8c6c39a320dbc Author: Michael Osipov <[email protected]> AuthorDate: Sat Jun 24 21:26:15 2023 +0200 [MSHARED-1278] Upgrade to Doxia 2.0.0-M7 --- pom.xml | 2 +- src/it/use-as-site-report/verify.groovy | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 1d20287..eec5d90 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ <properties> <javaVersion>8</javaVersion> <mavenVersion>3.2.5</mavenVersion> - <doxiaVersion>2.0.0-M6</doxiaVersion> + <doxiaVersion>2.0.0-M7</doxiaVersion> <doxiaSitetoolsVersion>2.0.0-M10</doxiaSitetoolsVersion> <reportingApiVersion>4.0.0-M6</reportingApiVersion> <pluginToolsVersion>3.9.0</pluginToolsVersion> diff --git a/src/it/use-as-site-report/verify.groovy b/src/it/use-as-site-report/verify.groovy index 90a9ac9..c419352 100644 --- a/src/it/use-as-site-report/verify.groovy +++ b/src/it/use-as-site-report/verify.groovy @@ -27,13 +27,11 @@ 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.' ); -// TODO align with use-as-direct-mojo as soon as Maven Site Plugin uses Doxia 2.0.0-M5 assert text.contains( '''\ <div class="verbatim"> <pre>Custom verbatim text.</pre></div>'''.normalize() ); assert text.contains( '''\ -<div class="verbatim source"> -<pre>var custom_code = true;</pre></div>'''.normalize() ); +<div class="verbatim source"><pre class="prettyprint">var custom_code = true;</pre></div>'''.normalize() ); f = new File( site, 'external/report.html' ); assert f.exists();
