This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.0 by this push:
new 2b1ba4411d4 KAFKA-19966 Upgrade commons-validator to 1.10.1 (#21105)
2b1ba4411d4 is described below
commit 2b1ba4411d4ec96de3b0c841b6a7cfc3382ef148
Author: Lan Ding <[email protected]>
AuthorDate: Mon Dec 8 23:03:12 2025 +0800
KAFKA-19966 Upgrade commons-validator to 1.10.1 (#21105)
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 b07b5e0472e..b494e9b39f3 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
- jackson-annotations-2.16.2
- jackson-core-2.16.2
- jackson-databind-2.16.2
diff --git a/build.gradle b/build.gradle
index ed59bbe0dd5..081b78991dd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -197,8 +197,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 dd4aaa22161..56256790cea 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -60,9 +60,8 @@ versions += [
caffeine: "3.1.1",
bndlib: "7.0.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.173",
gradle: "8.10.2",
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",