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 10:38:26 UTC
(maven-invoker-plugin) branch master updated: Implement getOutputPath() and deprecate getOutputName()
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-invoker-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 408676b Implement getOutputPath() and deprecate getOutputName()
408676b is described below
commit 408676b13ceb605d5ce822e26a29ca6a50db31bd
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";
}