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-plugin-tools.git

commit afd910c81ab80d44e114ef46e028033272246ff4
Author: Michael Osipov <[email protected]>
AuthorDate: Sun Nov 12 22:00:26 2023 +0100

    Consistently use MavenReport#getReportOutputDirectory()
---
 .../main/java/org/apache/maven/plugin/plugin/report/PluginReport.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java
 
b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java
index 1e63aa29..1ddf5111 100644
--- 
a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java
+++ 
b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java
@@ -211,14 +211,14 @@ public class PluginReport extends AbstractMavenReport {
                 GoalRenderer renderer;
                 try {
                     String filename = descriptor.getGoal() + "-mojo.html";
-                    Sink sink = getSinkFactory().createSink(outputDirectory, 
filename);
+                    Sink sink = 
getSinkFactory().createSink(getReportOutputDirectory(), filename);
                     renderer = new GoalRenderer(
                             sink,
                             i18n,
                             locale,
                             project,
                             descriptor,
-                            outputDirectory,
+                            getReportOutputDirectory(),
                             disableInternalJavadocLinkValidation,
                             getLog());
                 } catch (IOException e) {

Reply via email to