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:05 UTC
(maven-dependency-plugin) branch agent/doxia-2-adoption created (now 395d0a64)
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-dependency-plugin.git
at 395d0a64 Implement getOutputPath() and deprecate getOutputName()
This branch includes the following new commits:
new 395d0a64 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-dependency-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-dependency-plugin.git
commit 395d0a64cb99001ce91712d59c690f8683bc6d9d
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Wed Sep 9 21:23:56 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().
---
.../maven/plugins/dependency/analyze/AnalyzeReport.java | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java
index 038a1fda..03ffadd8 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java
@@ -141,10 +141,19 @@ public class AnalyzeReport extends AbstractMavenReport {
}
/**
- * {@inheritDoc}
+ * @deprecated use {@link #getOutputPath()} instead
*/
@Override
+ @Deprecated
public String getOutputName() {
+ return getOutputPath();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public String getOutputPath() {
return "dependency-analysis";
}