This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch 3.9
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.9 by this push:
new 79d79e4c2ca KAFKA-19966 Upgrade commons-validator to 1.10.1 (3.9)
(#21085)
79d79e4c2ca is described below
commit 79d79e4c2ca55163a07828bfc90d2b91bcad2d51
Author: Lan Ding <[email protected]>
AuthorDate: Mon Dec 8 15:26:43 2025 +0800
KAFKA-19966 Upgrade commons-validator to 1.10.1 (3.9) (#21085)
Upgrade commons-validator to 1.10.1 and remove the workarounds
introduced by 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 26ade82f12e..9a4f96979a4 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -214,7 +214,7 @@ commons-digester-2.1
commons-io-2.14.0
commons-lang3-3.18.0
commons-logging-1.3.5
-commons-validator-1.7
+commons-validator-1.10.1
error_prone_annotations-2.10.0
jackson-annotations-2.16.2
jackson-core-2.16.2
diff --git a/build.gradle b/build.gradle
index d246b49293a..381e964d13e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -163,8 +163,6 @@ allprojects {
libs.nettyTransportNativeEpoll,
// be explicit about the reload4j version instead of relying on the
transitive versions
libs.reload4j,
- // Workaround before `commons-validator` has new release. See
KAFKA-19359.
- libs.commonsBeanutils,
libs.commonsLang
)
}
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 627a6c6d26e..88042a44caa 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -91,9 +91,8 @@ versions += [
checkstyle: "8.36.2",
commonsCli: "1.4",
commonsIo: "2.14.0", // ZooKeeper dependency. Do not use, this is going away.
- commonsBeanutils: "1.11.0",
commonsLang: "3.18.0",
- commonsValidator: "1.7",
+ commonsValidator: "1.10.1",
dropwizardMetrics: "4.1.12.1",
gradle: "8.10.2",
grgit: "4.1.1",
@@ -184,7 +183,6 @@ libs += [
caffeine: "com.github.ben-manes.caffeine:caffeine:$versions.caffeine",
commonsCli: "commons-cli:commons-cli:$versions.commonsCli",
commonsIo: "commons-io:commons-io:$versions.commonsIo",
- 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",