This is an automated email from the ASF dual-hosted git repository.
FrankYang0529 pushed a commit to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.2 by this push:
new 347e650b334 MINOR: Remove commonsLang (#22088)
347e650b334 is described below
commit 347e650b334c9b13d85da4d9d077efb04fca28ea
Author: PoAn Yang <[email protected]>
AuthorDate: Sat Apr 18 13:08:38 2026 +0900
MINOR: Remove commonsLang (#22088)
(cherry picked from commit d4e7b9bd70a8e4d44868193ecf2675c6a0c74338)
Reviewers: Chia-Ping Tsai <[email protected]>, Ken Huang
<[email protected]>
Co-authored-by: Maros Orsak <[email protected]>
---
LICENSE-binary | 1 -
NOTICE-binary | 17 -----------------
build.gradle | 3 +--
gradle/dependencies.gradle | 2 --
4 files changed, 1 insertion(+), 22 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index 7ab8db51bd1..fea9be22218 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -209,7 +209,6 @@ License Version 2.0:
- commons-beanutils-1.11.0
- commons-collections-3.2.2
- commons-digester-2.1
-- commons-lang3-3.18.0
- commons-logging-1.3.5
- commons-validator-1.10.1
- hash4j-0.22.0
diff --git a/NOTICE-binary b/NOTICE-binary
index 00b25d5d3f3..4032f6ff00f 100644
--- a/NOTICE-binary
+++ b/NOTICE-binary
@@ -100,14 +100,6 @@ Copyright 2002-2021 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
-
-Apache Commons Lang
-Copyright 2001-2018 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-
# Jackson JSON processor
Jackson is a high-performance, Free/Open Source JSON processing library.
@@ -794,15 +786,6 @@ the HTTP/2 HPACK algorithm written by Tatsuhiro Tsujikawa.
It can be obtained at
* HOMEPAGE:
* https://github.com/nghttp2/nghttp2/
-This product contains a modified portion of 'Apache Commons Lang', a Java
library
-provides utilities for the java.lang API, which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.commons-lang.txt (Apache License 2.0)
- * HOMEPAGE:
- * https://commons.apache.org/proper/commons-lang/
-
-
This product contains the Maven wrapper scripts from 'Maven Wrapper', that
provides an easy way to ensure a user has everything necessary to run the Maven
build.
* LICENSE:
diff --git a/build.gradle b/build.gradle
index c5b68ad92f9..a233cd107c4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -197,8 +197,7 @@ allprojects {
// ensure we have a single version in the classpath despite
transitive dependencies
libs.scalaLibrary,
libs.scalaReflect,
- libs.jacksonAnnotations,
- libs.commonsLang
+ libs.jacksonAnnotations
)
}
}
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index eaa9dbcaac3..31c8c05d8ef 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -57,7 +57,6 @@ versions += [
caffeine: "3.2.0",
bndlib: "7.1.0",
checkstyle: project.hasProperty('checkstyleVersion') ? checkstyleVersion :
"10.20.2",
- commonsLang: "3.18.0",
commonsValidator: "1.10.1",
classgraph: "4.8.179",
gradle: "9.2.1",
@@ -155,7 +154,6 @@ libs += [
bndlib:"biz.aQute.bnd:biz.aQute.bndlib:$versions.bndlib",
caffeine: "com.github.ben-manes.caffeine:caffeine:$versions.caffeine",
classgraph: "io.github.classgraph:classgraph:$versions.classgraph",
- commonsLang: "org.apache.commons:commons-lang3:$versions.commonsLang",
commonsValidator:
"commons-validator:commons-validator:$versions.commonsValidator",
jacksonAnnotations:
"com.fasterxml.jackson.core:jackson-annotations:$versions.jacksonAnnotations",
jacksonDatabind:
"com.fasterxml.jackson.core:jackson-databind:$versions.jackson",