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

elharo pushed a commit to branch outputpath
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit 217daca7561269c80b8bb1dffa2d2226caf7ed8c
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Fri May 30 07:36:01 2025 -0400

    Cure deprecation warning
---
 .../java/org/apache/maven/plugins/javadoc/JavadocReport.java  | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/javadoc/JavadocReport.java 
b/src/main/java/org/apache/maven/plugins/javadoc/JavadocReport.java
index 4676268f..8254cba2 100644
--- a/src/main/java/org/apache/maven/plugins/javadoc/JavadocReport.java
+++ b/src/main/java/org/apache/maven/plugins/javadoc/JavadocReport.java
@@ -148,9 +148,18 @@ public class JavadocReport extends AbstractJavadocMojo 
implements MavenMultiPage
         }
     }
 
-    /** {@inheritDoc} */
+    /**
+     * @deprecated use getOutputPath() instead
+     */
     @Override
+    @Deprecated
     public String getOutputName() {
+        return getOutputPath();
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public String getOutputPath() {
         return (isTest() ? "test" : "") + "apidocs" + "/index";
     }
 

Reply via email to