Skip to content

Apache Lucene open-source search software

Upgrade commons-codec from 1.13.0 to 1.17.2 (#14129)

Michael Froh118afb7054fc
diff --git a/lucene/analysis.tests/src/test/module-info.java b/lucene/analysis.tests/src/test/module-info.java
index 3a67c75febb..d4d8957252b 100644
--- a/lucene/analysis.tests/src/test/module-info.java
+++ b/lucene/analysis.tests/src/test/module-info.java
@@ -33,6 +33,7 @@ module org.apache.lucene.analysis.tests {
requires org.apache.lucene.analysis.smartcn;
requires org.apache.lucene.analysis.stempel;
requires org.apache.lucene.test_framework;
+ requires org.apache.commons.codec;
exports org.apache.lucene.analysis.tests;
}
diff --git a/lucene/licenses/commons-codec-1.13.jar.sha1 b/lucene/licenses/commons-codec-1.13.jar.sha1
deleted file mode 100644
index 4d9344b4a4e..00000000000
--- a/lucene/licenses/commons-codec-1.13.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-3f18e1aa31031d89db6f01ba05d501258ce69d2c
diff --git a/lucene/licenses/commons-codec-1.17.2.jar.sha1 b/lucene/licenses/commons-codec-1.17.2.jar.sha1
new file mode 100644
index 00000000000..3ef561c0262
--- /dev/null
+++ b/lucene/licenses/commons-codec-1.17.2.jar.sha1
@@ -0,0 +1 @@
+cd6bb9d856db5f61871a94d5801efd0b93b7fcb2
diff --git a/versions.lock b/versions.lock
index 26de44f99e2..f3057288a9f 100644
--- a/versions.lock
+++ b/versions.lock
@@ -4,7 +4,7 @@
"main_dependencies" : {
"com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.1" : "fa9ef26b,refs=4",
"com.ibm.icu:icu4j:74.2" : "47ea4550,refs=6",
- "commons-codec:commons-codec:1.13" : "e9962aab,refs=4",
+ "commons-codec:commons-codec:1.17.2" : "e9962aab,refs=4",
"io.sgr:s2-geometry-library-java:1.0.0" : "cbc357ab,refs=4",
"junit:junit:4.13.1" : "fa9ef26b,refs=4",
"net.sf.jopt-simple:jopt-simple:5.0.4" : "85a1e4c6,refs=2",
@@ -46,7 +46,7 @@
"com.google.j2objc:j2objc-annotations:1.3" : "6897bc09,refs=38",
"com.google.protobuf:protobuf-java:3.19.2" : "6897bc09,refs=38",
"com.ibm.icu:icu4j:74.2" : "ffa00415,refs=8",
- "commons-codec:commons-codec:1.13" : "733734f0,refs=6",
+ "commons-codec:commons-codec:1.17.2" : "733734f0,refs=6",
"io.github.java-diff-utils:java-diff-utils:4.0" : "6897bc09,refs=38",
"io.sgr:s2-geometry-library-java:1.0.0" : "1d5a4b2b,refs=4",
"javax.inject:javax.inject:1" : "6897bc09,refs=38",
diff --git a/versions.toml b/versions.toml
index 80dc51f39bf..d1e693e03ca 100644
--- a/versions.toml
+++ b/versions.toml
@@ -2,7 +2,7 @@
antlr = "4.11.1"
asm = "9.6"
assertj = "3.21.0"
-commons-codec = "1.13"
+commons-codec = "1.17.2"
commons-compress = "1.19"
ecj = "3.36.0"
errorprone = "2.18.0"