diff --git a/java-errorreporting/samples/install-without-bom/pom.xml b/java-errorreporting/samples/install-without-bom/pom.xml
index ddd3733ab6ba..d9daed17920d 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.19
+ 2.8.20
junit
diff --git a/java-errorreporting/samples/snapshot/pom.xml b/java-errorreporting/samples/snapshot/pom.xml
index d3883168199c..663277db4d1c 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.19
+ 2.8.20
junit