From ad024999d8e0ea2ff4acaf88445a4651baaa54c5 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Wed, 26 Oct 2022 14:27:15 +0100 Subject: [PATCH] HADOOP-18487. change scope so that protobuf explicitly exported again rename protobuf2.scope to transient.protobuf2.scope as it is only used in transient exports Change-Id: Icfa54ad440834314ee69ec9bf3d585f981e20fef --- hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml | 2 +- hadoop-hdfs-project/hadoop-hdfs/pom.xml | 2 +- hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml | 2 +- .../hadoop-yarn-services/hadoop-yarn-services-core/pom.xml | 2 +- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml | 2 +- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml | 2 +- .../hadoop-yarn-server/hadoop-yarn-server-common/pom.xml | 2 +- .../hadoop-yarn-server-resourcemanager/pom.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml index 3de27888a82..c234caf46e6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-nfs/pom.xml @@ -146,7 +146,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> com.google.protobuf protobuf-java - ${protobuf2.scope} + ${transient.protobuf2.scope} javax.servlet diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml index 5e501067cdd..6edfc796bda 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml @@ -130,7 +130,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> com.google.protobuf protobuf-java - ${protobuf2.scope} + ${transient.protobuf2.scope} javax.servlet diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml index 4b12a8666fa..eb770c4ff19 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml @@ -39,7 +39,7 @@ com.google.protobuf protobuf-java - ${protobuf2.scope} + ${transient.protobuf2.scope} org.apache.avro diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/pom.xml index 6473103cbdf..1ff770cc420 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/pom.xml @@ -191,7 +191,7 @@ com.google.protobuf protobuf-java - ${protobuf2.scope} + ${transient.protobuf2.scope} diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml index 6072d088cbd..831c76d8706 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml @@ -132,7 +132,7 @@ com.google.protobuf protobuf-java - ${protobuf2.scope} + ${transient.protobuf2.scope} org.bouncycastle diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml index 555f1cd3d5c..864067ce974 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml @@ -38,7 +38,7 @@ com.google.protobuf protobuf-java ${hadoop.protobuf.version} - ${protobuf2.scope} + ${transient.protobuf2.scope} io.netty diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml index d1abf1b2680..80d4e177b49 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml @@ -89,7 +89,7 @@ com.google.protobuf protobuf-java - ${protobuf2.scope} + ${transient.protobuf2.scope} junit diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml index 577278cd841..b695deb0134 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml @@ -81,7 +81,7 @@ com.google.protobuf protobuf-java - ${protobuf2.scope} + ${transient.protobuf2.scope} commons-io