From f9c3b40eb09a231e9f41ebae7aef37ef81a40c2c Mon Sep 17 00:00:00 2001 From: Yike Xiao Date: Tue, 12 Nov 2024 00:53:49 +0800 Subject: [PATCH 1/3] Fix jetcd-core-shaded issue --- distribution/server/pom.xml | 1 - jetcd-core-shaded/pom.xml | 54 +++++-------------------------------- pom.xml | 1 - pulsar-broker/pom.xml | 1 - pulsar-metadata/pom.xml | 1 - 5 files changed, 6 insertions(+), 52 deletions(-) diff --git a/distribution/server/pom.xml b/distribution/server/pom.xml index 265d21a672cbe..c8815fdd8da8d 100644 --- a/distribution/server/pom.xml +++ b/distribution/server/pom.xml @@ -49,7 +49,6 @@ ${project.groupId} jetcd-core-shaded ${project.version} - shaded diff --git a/jetcd-core-shaded/pom.xml b/jetcd-core-shaded/pom.xml index 4cafcc1a44b77..ea01850cc2679 100644 --- a/jetcd-core-shaded/pom.xml +++ b/jetcd-core-shaded/pom.xml @@ -72,6 +72,12 @@ io.grpc grpc-util + + + + + + @@ -141,54 +147,6 @@ ${project.basedir}/dependency-reduced-pom.xml - - true - shaded - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-shaded-jar - package - - attach-artifact - - - - - ${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar - jar - shaded - - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - ${maven-antrun-plugin.version} - - - unpack-shaded-jar - package - - run - - - - - diff --git a/pom.xml b/pom.xml index bf47646e16c71..0fd4545e34367 100644 --- a/pom.xml +++ b/pom.xml @@ -1108,7 +1108,6 @@ flexible messaging model and an intuitive client API. ${project.groupId} jetcd-core-shaded ${project.version} - shaded io.etcd diff --git a/pulsar-broker/pom.xml b/pulsar-broker/pom.xml index dab39c0609da5..97ede1f76e969 100644 --- a/pulsar-broker/pom.xml +++ b/pulsar-broker/pom.xml @@ -487,7 +487,6 @@ ${project.groupId} jetcd-core-shaded ${project.version} - shaded test diff --git a/pulsar-metadata/pom.xml b/pulsar-metadata/pom.xml index e32473cd434c3..229dd5ba610a9 100644 --- a/pulsar-metadata/pom.xml +++ b/pulsar-metadata/pom.xml @@ -125,7 +125,6 @@ ${project.groupId} jetcd-core-shaded ${project.version} - shaded io.grpc From b433b87e7afcc41cbbe3473dc8ad537db94246dc Mon Sep 17 00:00:00 2001 From: Yike Xiao Date: Fri, 15 Nov 2024 11:07:55 +0800 Subject: [PATCH 2/3] Change jetcd-core-shaded build finalName --- jetcd-core-shaded/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/jetcd-core-shaded/pom.xml b/jetcd-core-shaded/pom.xml index ea01850cc2679..c169930e2596c 100644 --- a/jetcd-core-shaded/pom.xml +++ b/jetcd-core-shaded/pom.xml @@ -80,6 +80,7 @@ + ${project.artifactId}-${project.version} org.apache.maven.plugins From 8cb145adb545cdcc17121347724221b76e0afcbd Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Fri, 15 Nov 2024 08:12:09 -0800 Subject: [PATCH 3/3] Remove unnecessary commented out dependency --- jetcd-core-shaded/pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jetcd-core-shaded/pom.xml b/jetcd-core-shaded/pom.xml index c169930e2596c..b0e6e99052599 100644 --- a/jetcd-core-shaded/pom.xml +++ b/jetcd-core-shaded/pom.xml @@ -72,12 +72,6 @@ io.grpc grpc-util - - - - - - ${project.artifactId}-${project.version}