diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml
index fb806544d5..12aa1b5675 100644
--- a/spring-boot-dependencies/pom.xml
+++ b/spring-boot-dependencies/pom.xml
@@ -303,6 +303,11 @@
jetty-annotations
${jetty.version}
+
+ org.hamcrest
+ hamcrest-core
+ ${hamcrest.version}
+
org.hamcrest
hamcrest-library
diff --git a/spring-boot-starters/spring-boot-starter-test/pom.xml b/spring-boot-starters/spring-boot-starter-test/pom.xml
index cf1efee0a9..050ecc13a5 100644
--- a/spring-boot-starters/spring-boot-starter-test/pom.xml
+++ b/spring-boot-starters/spring-boot-starter-test/pom.xml
@@ -26,6 +26,10 @@
org.mockito
mockito-core
+
+ org.hamcrest
+ hamcrest-core
+
org.hamcrest
hamcrest-library