From a85272c33d65c131cf647df3275655db36343428 Mon Sep 17 00:00:00 2001 From: Gautham B A Date: Tue, 27 Jun 2023 04:22:17 +0530 Subject: [PATCH] HADOOP-18751. Fix incorrect output path in javadoc build phase (#5688) --- hadoop-project-dist/pom.xml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/hadoop-project-dist/pom.xml b/hadoop-project-dist/pom.xml index 149ab7c0c0..53ec05b30b 100644 --- a/hadoop-project-dist/pom.xml +++ b/hadoop-project-dist/pom.xml @@ -106,7 +106,7 @@ ${maven.compile.source} ${maven.compile.encoding} ${project.build.directory}/site - ${project.build.directory}/api + ${destDirPath} ${project.name} API @@ -207,6 +207,36 @@ org.apache.maven.plugins maven-antrun-plugin + + choose-javadoc-dest-dir + validate + + run + + + true + + + + + + + + destDirPath to use for maven-javadoc-plugin = ${destDirPath} + + +