You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/10 12:17:16 UTC

(maven) branch master updated: Implement getOutputPath() in the site IT plugin

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


The following commit(s) were added to refs/heads/master by this push:
     new 5688a1cf06 Implement getOutputPath() in the site IT plugin
5688a1cf06 is described below

commit 5688a1cf06f63717052ef08f8bf9ed91f2819239
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Sep 10 14:04:22 2026 +0200

    Implement getOutputPath() in the site IT plugin
    
    Maven Reporting API 4.0.0 deprecated getOutputName(); it stays as a delegate
    because the interface still declares it abstract.
---
 .../src/main/java/org/apache/maven/plugin/coreit/InfoReport.java  | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-site/src/main/java/org/apache/maven/plugin/coreit/InfoReport.java b/its/core-it-support/core-it-plugins/maven-it-plugin-site/src/main/java/org/apache/maven/plugin/coreit/InfoReport.java
index bc1539748a..2846b9535e 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-site/src/main/java/org/apache/maven/plugin/coreit/InfoReport.java
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-site/src/main/java/org/apache/maven/plugin/coreit/InfoReport.java
@@ -130,7 +130,15 @@ public void generate(Sink sink, Locale locale) throws MavenReportException {
         }
     }
 
+    /**
+     * @deprecated use {@link #getOutputPath()} instead
+     */
+    @Deprecated
     public String getOutputName() {
+        return getOutputPath();
+    }
+
+    public String getOutputPath() {
         return "info";
     }