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/09 19:24:03 UTC

(maven-invoker-plugin) branch agent/doxia-2-adoption created (now c907cf3)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch agent/doxia-2-adoption
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git


      at c907cf3  Implement getOutputPath() and deprecate getOutputName()

This branch includes the following new commits:

     new c907cf3  Implement getOutputPath() and deprecate getOutputName()

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-invoker-plugin) 01/01: Implement getOutputPath() and deprecate getOutputName()

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch agent/doxia-2-adoption
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git

commit c907cf33b810c87653aff2d31ea6e4b45b10dd61
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Wed Sep 9 21:23:54 2026 +0200

    Implement getOutputPath() and deprecate getOutputName()
    
    Maven Reporting API 4.0.0 keeps getOutputName() abstract, so it cannot simply
    be renamed: it stays, deprecated, delegating to the new method. Do not collapse
    the pair until the API drops getOutputName().
---
 .../org/apache/maven/plugins/invoker/InvokerReport.java     | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/main/java/org/apache/maven/plugins/invoker/InvokerReport.java b/src/main/java/org/apache/maven/plugins/invoker/InvokerReport.java
index 854c32f..20f9536 100644
--- a/src/main/java/org/apache/maven/plugins/invoker/InvokerReport.java
+++ b/src/main/java/org/apache/maven/plugins/invoker/InvokerReport.java
@@ -99,7 +99,20 @@ public class InvokerReport extends AbstractMavenReport {
         return getI18nString(locale, "description");
     }
 
+    /**
+     * @deprecated use {@link #getOutputPath()} instead
+     */
+    @Override
+    @Deprecated
     public String getOutputName() {
+        return getOutputPath();
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    public String getOutputPath() {
         return "invoker";
     }