This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch mvn4
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git
The following commit(s) were added to refs/heads/mvn4 by this push:
new f2330b1 Switch a few core plugins to the new api
f2330b1 is described below
commit f2330b1ba11faf7926e0832ce3457da612114402
Author: Guillaume Nodet <[email protected]>
AuthorDate: Thu Feb 24 17:00:57 2022 +0100
Switch a few core plugins to the new api
---
pom.xml | 4 ++--
.../java/org/apache/maven/plugins/changes/AbstractChangesReport.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 645735e..113053d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@ under the License.
<parent>
<artifactId>maven-plugins</artifactId>
<groupId>org.apache.maven.plugins</groupId>
- <version>34</version>
+ <version>35-SNAPSHOT</version>
<relativePath/>
</parent>
@@ -76,7 +76,7 @@ under the License.
<properties>
<javaVersion>8</javaVersion>
<doxiaVersion>2.0.0-M2-SNAPSHOT</doxiaVersion>
- <doxiaSitetoolsVersion>2.0.0-M1-SNAPSHOT</doxiaSitetoolsVersion>
+ <doxiaSitetoolsVersion>2.0.0-M3-SNAPSHOT</doxiaSitetoolsVersion>
<mavenVersion>4.0.0-alpha-1-SNAPSHOT</mavenVersion>
<sitePluginVersion>3.3</sitePluginVersion>
<wagonVersion>3.5.2-SNAPSHOT</wagonVersion>
diff --git
a/src/main/java/org/apache/maven/plugins/changes/AbstractChangesReport.java
b/src/main/java/org/apache/maven/plugins/changes/AbstractChangesReport.java
index 54cd9cd..259cf91 100644
--- a/src/main/java/org/apache/maven/plugins/changes/AbstractChangesReport.java
+++ b/src/main/java/org/apache/maven/plugins/changes/AbstractChangesReport.java
@@ -169,7 +169,7 @@ public abstract class AbstractChangesReport
model, getName( locale ), locale );
siteContext.setOutputEncoding( getOutputEncoding() );
- RenderingContext context = new RenderingContext( outputDirectory,
getOutputName() + ".html" );
+ RenderingContext context = new RenderingContext( outputDirectory,
getOutputName() + ".html", null );
SiteRendererSink sink = new SiteRendererSink( context );
generate( sink, null, locale );
@@ -179,7 +179,7 @@ public abstract class AbstractChangesReport
File file = new File( outputDirectory, getOutputName() + ".html" );
writer = new OutputStreamWriter( new FileOutputStream( file ),
getOutputEncoding() );
- siteRenderer.generateDocument( writer, sink, siteContext );
+ siteRenderer.mergeDocumentIntoSite( writer, sink, siteContext );
writer.close();
writer = null;