From c3340f2227665059ab644a538085c1b497ef0467 Mon Sep 17 00:00:00 2001 From: mystic-lama Date: Sat, 2 Dec 2023 15:52:58 -0800 Subject: [PATCH] ORC-994: Updated javadoc generation location outside of source tree ### What changes were proposed in this pull request? The PR Proposes to generate the javadoc to a location inside target folder, outside of source tree. The location can be specified in properties inside pom.xml ### Why are the changes needed? The changes are needed to avoid RAT check issues ### How was this patch tested? Ran the build and manually verified the javadoc generation using `mvn javadoc:javadoc` The javadoc's were generated inside `projectDir/target/javadoc` as configured Closes #1663 from mystic-lama/javadoc_location. Authored-by: mystic-lama Signed-off-by: Dongjoon Hyun --- java/pom.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/java/pom.xml b/java/pom.xml index c7534804ea..f7737d6cb4 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -64,6 +64,7 @@ ${project.basedir}/../../examples 3.3.6 17 + ${project.basedir}/../target/javadoc 5.10.1 3.6.0 3.6.0 @@ -658,18 +659,18 @@ https://orc.apache.org/api/hive-storage-api - ${project.basedir}/../../site/api/hive-storage-api + ${javadoc.location}/api/hive-storage-api https://orc.apache.org/api/orc-core - ${project.basedir}/../../site/api/orc-core + ${javadoc.location}/api/orc-core https://orc.apache.org/api/orc-mapreduce - ${project.basedir}/../../site/api/orc-mapreduce + ${javadoc.location}/api/orc-mapreduce - ${project.basedir}/../../site/api + ${javadoc.location}/api true