You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/10/21 13:34:13 UTC
(pulsar) 03/05: [fix][client] Prevent embedding protobuf-java class files in pulsar-client-admin and pulsar-client-all (#23468)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 521b7b4fa1fc1e3c553f86b27412195785a9d266
Author: 萧易客 <km...@live.com>
AuthorDate: Fri Oct 18 02:07:38 2024 +0800
[fix][client] Prevent embedding protobuf-java class files in pulsar-client-admin and pulsar-client-all (#23468)
(cherry picked from commit 63c6a25718f27528ea0c7da690c479ffab17c455)
---
pulsar-client-admin-shaded/pom.xml | 2 +-
pulsar-client-all/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pulsar-client-admin-shaded/pom.xml b/pulsar-client-admin-shaded/pom.xml
index 001ea0ace3b..f4e9b37c756 100644
--- a/pulsar-client-admin-shaded/pom.xml
+++ b/pulsar-client-admin-shaded/pom.xml
@@ -120,7 +120,6 @@
<include>org.reactivestreams:reactive-streams</include>
<include>com.typesafe.netty:netty-reactive-streams</include>
<include>org.javassist:javassist</include>
- <include>com.google.protobuf:protobuf-java</include>
<include>com.google.guava:guava</include>
<include>com.google.code.gson:gson</include>
<include>com.spotify:completable-futures</include>
@@ -153,6 +152,7 @@
</includes>
<excludes>
<exclude>com.fasterxml.jackson.core:jackson-annotations</exclude>
+ <exclude>com.google.protobuf:protobuf-java</exclude>
</excludes>
</artifactSet>
<filters>
diff --git a/pulsar-client-all/pom.xml b/pulsar-client-all/pom.xml
index db795ca34a4..536bd79b23f 100644
--- a/pulsar-client-all/pom.xml
+++ b/pulsar-client-all/pom.xml
@@ -160,7 +160,6 @@
<include>org.reactivestreams:reactive-streams</include>
<include>com.typesafe.netty:netty-reactive-streams</include>
<include>org.javassist:javassist</include>
- <include>com.google.protobuf:protobuf-java</include>
<include>com.google.guava:*</include>
<include>org.checkerframework:*</include>
<include>com.google.code.findbugs:*</include>
@@ -210,6 +209,7 @@
</includes>
<excludes>
<exclude>com.fasterxml.jackson.core:jackson-annotations</exclude>
+ <exclude>com.google.protobuf:protobuf-java</exclude>
</excludes>
</artifactSet>
<filters>