This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch 4.1
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.1 by this push:
new ba86f84b2ff KAFKA-19966 Upgrade commons-validator to 1.10.1 (#21084)
ba86f84b2ff is described below
commit ba86f84b2ffdea1befcce3e8c4d9b8fad83ee5c7
Author: Lan Ding <[email protected]>
AuthorDate: Mon Dec 8 15:14:26 2025 +0800
KAFKA-19966 Upgrade commons-validator to 1.10.1 (#21084)
Upgrade commons-validator to 1.10.1 and remove the workarounds
introduced by
[KAFKA-19359](https://issues.apache.org/jira/browse/KAFKA-19359)
Reviewers: Chia-Ping Tsai <[email protected]>
---
LICENSE-binary | 2 +-
build.gradle | 2 --
gradle/dependencies.gradle | 4 +---
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index dc1c86d2706..d71ea5551f6 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -211,7 +211,7 @@ License Version 2.0:
- commons-digester-2.1
- commons-lang3-3.18.0
- commons-logging-1.3.5
-- commons-validator-1.9.0
+- commons-validator-1.10.1
- hash4j-0.22.0
- jackson-annotations-2.19.4
- jackson-core-2.19.4
diff --git a/build.gradle b/build.gradle
index 97250637b70..02810a2c0e6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -193,8 +193,6 @@ allprojects {
// ensure we have a single version in the classpath despite
transitive dependencies
libs.scalaLibrary,
libs.scalaReflect,
- // Workaround before `commons-validator` has new release. See
KAFKA-19359.
- libs.commonsBeanutils,
libs.jacksonAnnotations,
libs.commonsLang
)
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index d92b31ef076..e1b7e64e39e 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -57,9 +57,8 @@ versions += [
caffeine: "3.2.0",
bndlib: "7.1.0",
checkstyle: project.hasProperty('checkstyleVersion') ? checkstyleVersion :
"10.20.2",
- commonsBeanutils: "1.11.0",
commonsLang: "3.18.0",
- commonsValidator: "1.9.0",
+ commonsValidator: "1.10.1",
classgraph: "4.8.179",
gradle: "8.14.1",
grgit: "4.1.1",
@@ -150,7 +149,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",
- commonsBeanutils:
"commons-beanutils:commons-beanutils:$versions.commonsBeanutils",
commonsLang: "org.apache.commons:commons-lang3:$versions.commonsLang",
commonsValidator:
"commons-validator:commons-validator:$versions.commonsValidator",
jacksonAnnotations:
"com.fasterxml.jackson.core:jackson-annotations:$versions.jackson",