From 93dbf16e1a41e39ecd82403eb650d265ba5520be Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Thu, 11 Dec 2025 15:57:17 +0100 Subject: [PATCH 1/5] HBASE-29770 Exclude commons-logging from HBase --- pom.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pom.xml b/pom.xml index b5af54e2d39d..2daee6689524 100644 --- a/pom.xml +++ b/pom.xml @@ -1211,6 +1211,12 @@ org.apache.httpcomponents httpclient ${httpclient.version} + + + commons-logging + commons-logging + + org.apache.httpcomponents @@ -1222,6 +1228,17 @@ commons-codec ${commons-codec.version} + + commons-validator + commons-validator + ${commons-validator.version} + + + commons-logging + commons-logging + + + commons-io commons-io @@ -4416,6 +4433,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + org.bouncycastle bcprov-jdk15on @@ -4510,6 +4531,10 @@ javax.ws.rs jsr311-api + + commons-logging + commons-logging + org.bouncycastle bcprov-jdk15on From dd27901ada5f2515059dda5b3df259477e7afbcc Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Mon, 5 Jan 2026 17:10:35 +0100 Subject: [PATCH 2/5] set banned-commons-logging rule to transitive --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2daee6689524..1f94db68c6f1 100644 --- a/pom.xml +++ b/pom.xml @@ -2176,7 +2176,7 @@ commons-logging:commons-logging We don't use commons-logging any more, so do not depend on it directly. - false + true From f29d8bd11aa10a91ba28a276647d515c2c6cc9cd Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Tue, 6 Jan 2026 07:59:17 +0100 Subject: [PATCH 3/5] Add exclusions for Hadoop 3.3.6 and update exclusion rule message --- pom.xml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 1f94db68c6f1..ae674c648e53 100644 --- a/pom.xml +++ b/pom.xml @@ -1259,14 +1259,6 @@ commons-cli ${commons-cli.version} - - - commons-logging - commons-logging - 1.2 - org.apache.zookeeper zookeeper @@ -2175,7 +2167,7 @@ commons-logging:commons-logging - We don't use commons-logging any more, so do not depend on it directly. + We don't use commons-logging any more, so do not depend on it directly. We are also using jcl-over-slf4j for libraries so exclude any transitive commons-logging dependencies. true @@ -4278,6 +4270,10 @@ org.openlabtesting.leveldbjni leveldbjni-all + + commons-logging + commons-logging + @@ -4331,6 +4327,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + @@ -4614,6 +4614,10 @@ org.bouncycastle bcpkix-jdk15on + + commons-logging + commons-logging + From d20ddf5dafcc084c3715607b44c376ae089d7122 Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Tue, 13 Jan 2026 07:07:04 +0100 Subject: [PATCH 4/5] remove redundant searchTransitive=true tag --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index ae674c648e53..5bbf0c26ff5d 100644 --- a/pom.xml +++ b/pom.xml @@ -2168,7 +2168,6 @@ commons-logging:commons-logging We don't use commons-logging any more, so do not depend on it directly. We are also using jcl-over-slf4j for libraries so exclude any transitive commons-logging dependencies. - true From 157d43e14e7adca8b9905a92c0eabf26879e5528 Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Wed, 14 Jan 2026 13:32:12 +0100 Subject: [PATCH 5/5] hadoop 2 exclusions --- pom.xml | 51 ++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 5bbf0c26ff5d..b04553e8c657 100644 --- a/pom.xml +++ b/pom.xml @@ -1228,17 +1228,6 @@ commons-codec ${commons-codec.version} - - commons-validator - commons-validator - ${commons-validator.version} - - - commons-logging - commons-logging - - - commons-io commons-io @@ -3424,6 +3413,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + @@ -3475,6 +3468,10 @@ com.codahale.metrics metrics-core + + commons-logging + commons-logging + @@ -3512,6 +3509,10 @@ com.codahale.metrics metrics-core + + commons-logging + commons-logging + @@ -3568,6 +3569,10 @@ com.codahale.metrics metrics-core + + commons-logging + commons-logging + @@ -3623,6 +3628,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + @@ -3680,6 +3689,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + @@ -3778,6 +3791,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + @@ -3843,6 +3860,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + @@ -3876,6 +3897,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging +