diff --git a/liquibase/pom.xml b/liquibase/pom.xml
index dba7f9c05a3e..7e2067640d5c 100644
--- a/liquibase/pom.xml
+++ b/liquibase/pom.xml
@@ -42,7 +42,7 @@
org.hamcrest
- hamcrest-core
+ hamcrest
org.junit.jupiter
diff --git a/pom.xml b/pom.xml
index bbdac573bc51..ad96ebe0fe42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -521,15 +521,20 @@
powermock-api-mockito2
2.0.9
+
org.hamcrest
hamcrest-core
- 2.2
+ ${hamcrestVersion}
org.hamcrest
- hamcrest-library
- 2.2
+ hamcrest
+ ${hamcrestVersion}
com.h2database
@@ -1151,6 +1156,7 @@
2.12.0
5.7.0
3.6.28
+ 2.2
1.7.30
2.14.0
diff --git a/test/pom.xml b/test/pom.xml
index 5c3c37a13bef..30e8fdbdaffb 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -66,14 +66,19 @@
org.powermock
powermock-api-mockito2
-
- org.hamcrest
- hamcrest-core
-
-
- org.hamcrest
- hamcrest-library
-
+
+
+ org.hamcrest
+ hamcrest-core
+
+
+ org.hamcrest
+ hamcrest
+