From a0e2ab2974c244e699052fc3461bfa46c7416a27 Mon Sep 17 00:00:00 2001 From: Yubi Lee Date: Fri, 12 Aug 2022 04:12:41 +0900 Subject: [PATCH] HADOOP-18398. Prevent AvroRecord*.class from being included non-test jar (#4727) Contributed by Yubi Lee. --- hadoop-common-project/hadoop-common/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml index b527725b4dc..77a509029e8 100644 --- a/hadoop-common-project/hadoop-common/pom.xml +++ b/hadoop-common-project/hadoop-common/pom.xml @@ -1115,7 +1115,7 @@ src-test-compile-protoc-legacy generate-test-sources - compile + test-compile false @@ -1124,7 +1124,7 @@ com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} false - ${basedir}/src/test/proto + ${basedir}/src/test/proto ${project.build.directory}/generated-test-sources/java false