This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d57c602a97 [fix][misc] Exclude commons-configuration2 and 
commons-beanutils in pulsar-common (#24612)
3d57c602a97 is described below

commit 3d57c602a9703eafafedc7eabb0022ffe4bba5e1
Author: Lari Hotari <[email protected]>
AuthorDate: Fri Aug 8 09:13:09 2025 +0300

    [fix][misc] Exclude commons-configuration2 and commons-beanutils in 
pulsar-common (#24612)
---
 pulsar-common/pom.xml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/pulsar-common/pom.xml b/pulsar-common/pom.xml
index b6b4fc911e8..ad156d55fda 100644
--- a/pulsar-common/pom.xml
+++ b/pulsar-common/pom.xml
@@ -122,11 +122,33 @@
     <dependency>
       <groupId>org.apache.bookkeeper</groupId>
       <artifactId>bookkeeper-common-allocator</artifactId>
+      <exclusions>
+        <!-- Exclude dependencies that are not needed in Pulsar, 
https://github.com/apache/bookkeeper/issues/4647 -->
+        <exclusion>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-configuration2</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>commons-beanutils</groupId>
+          <artifactId>commons-beanutils</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
     <dependency>
       <groupId>org.apache.bookkeeper</groupId>
       <artifactId>cpu-affinity</artifactId>
+      <exclusions>
+        <!-- Exclude dependencies that are not needed in Pulsar, 
https://github.com/apache/bookkeeper/issues/4647 -->
+        <exclusion>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-configuration2</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>commons-beanutils</groupId>
+          <artifactId>commons-beanutils</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
     <dependency>
@@ -147,6 +169,15 @@
           <groupId>io.netty</groupId>
           <artifactId>netty-common</artifactId>
         </exclusion>
+        <!-- Exclude dependencies that are not needed in Pulsar, 
https://github.com/apache/bookkeeper/issues/4647 -->
+        <exclusion>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-configuration2</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>commons-beanutils</groupId>
+          <artifactId>commons-beanutils</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 

Reply via email to