Skip to content

Apache Lucene open-source search software

deps(java): bump org.hamcrest:hamcrest from 2.2 to 3.0 (#14566)

dependabot[bot]02072201710b
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 2a46b5be220..7ea02883c81 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -12,7 +12,7 @@ flexmark = "0.64.8"
# @keep This is GJF version for spotless/ tidy.
googleJavaFormat = "1.23.0"
groovy = "4.0.26"
-hamcrest = "2.2"
+hamcrest = "3.0"
icu4j = "77.1"
javacc = "7.0.12"
jflex = "1.8.2"
diff --git a/lucene/licenses/hamcrest-2.2.jar.sha1 b/lucene/licenses/hamcrest-2.2.jar.sha1
deleted file mode 100644
index 820b1fb33c6..00000000000
--- a/lucene/licenses/hamcrest-2.2.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-1820c0968dba3a11a1b30669bb1f01978a91dedc
diff --git a/lucene/licenses/hamcrest-3.0.jar.sha1 b/lucene/licenses/hamcrest-3.0.jar.sha1
new file mode 100644
index 00000000000..6ccdd785a66
--- /dev/null
+++ b/lucene/licenses/hamcrest-3.0.jar.sha1
@@ -0,0 +1 @@
+8fd9b78a8e6a6510a078a9e30e9e86a6035cfaf7
diff --git a/versions.lock b/versions.lock
index 31521308b81..b80f4116b9a 100644
--- a/versions.lock
+++ b/versions.lock
@@ -16,7 +16,7 @@
"org.carrot2:morfologik-fsa:2.1.9" : "79af844b,refs=4",
"org.carrot2:morfologik-polish:2.1.9" : "fe494320,refs=3",
"org.carrot2:morfologik-stemming:2.1.9" : "79af844b,refs=4",
- "org.hamcrest:hamcrest:2.2" : "fa9ef26b,refs=4",
+ "org.hamcrest:hamcrest:3.0" : "fa9ef26b,refs=4",
"org.locationtech.spatial4j:spatial4j:0.8" : "cbc357ab,refs=4",
"org.openjdk.jmh:jmh-core:1.37" : "85a1e4c6,refs=2",
"org.ow2.asm:asm:9.6" : "d9953130,refs=4",
@@ -64,7 +64,7 @@
"org.carrot2:morfologik-polish:2.1.9" : "cb00cecf,refs=5",
"org.carrot2:morfologik-stemming:2.1.9" : "e077a675,refs=8",
"org.checkerframework:checker-qual:3.37.0" : "6897bc09,refs=38",
- "org.hamcrest:hamcrest:2.2" : "b35e5d7a,refs=74",
+ "org.hamcrest:hamcrest:3.0" : "b35e5d7a,refs=74",
"org.jspecify:jspecify:1.0.0" : "6897bc09,refs=38",
"org.locationtech.jts:jts-core:1.17.0" : "180518e6,refs=2",
"org.locationtech.spatial4j:spatial4j:0.8" : "1d5a4b2b,refs=4",