diff --git a/pom.xml b/pom.xml
index 1579e52ebc..f3cca0ca9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -133,6 +133,7 @@ under the License.
2.11.0
3.12.0
4.13.2
+ 2.2
4.11.0
2.1.0
@@ -525,7 +526,13 @@ under the License.
org.hamcrest
hamcrest
- 2.2
+ ${hamcrestVersion}
+ test
+
+
+ org.hamcrest
+ hamcrest-core
+ ${hamcrestVersion}
test
@@ -533,12 +540,6 @@ under the License.
junit
${junitVersion}
test
-
-
- org.hamcrest
- hamcrest-core
-
-