diff --git a/java-errorreporting/samples/install-without-bom/pom.xml b/java-errorreporting/samples/install-without-bom/pom.xml
index 3fb8e24bf12f..7d337143ba42 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.4
+ 2.8.5
junit
diff --git a/java-errorreporting/samples/snapshot/pom.xml b/java-errorreporting/samples/snapshot/pom.xml
index 56e495db5d18..a646835b7d25 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.4
+ 2.8.5
junit