diff --git a/java-errorreporting/samples/install-without-bom/pom.xml b/java-errorreporting/samples/install-without-bom/pom.xml
index 53613de6e3ca..d596d35ede68 100644
--- a/java-errorreporting/samples/install-without-bom/pom.xml
+++ b/java-errorreporting/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.cloud
google-cloud-core
- 2.8.6
+ 2.8.7
junit
diff --git a/java-errorreporting/samples/snapshot/pom.xml b/java-errorreporting/samples/snapshot/pom.xml
index e30a9fdac9f6..e4358604a49e 100644
--- a/java-errorreporting/samples/snapshot/pom.xml
+++ b/java-errorreporting/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-core
- 2.8.6
+ 2.8.7
junit