This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 149bf9a2 Cure deprecation warning (#383) 149bf9a2 is described below commit 149bf9a226222e73fce048ad21d8d62f594f63d1 Author: Elliotte Rusty Harold <elh...@users.noreply.github.com> AuthorDate: Fri May 30 19:18:24 2025 +0000 Cure deprecation warning (#383) --- .../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"; }