diff --git a/java-errorreporting/samples/install-without-bom/pom.xml b/java-errorreporting/samples/install-without-bom/pom.xml
index bbf6c62f0cf..e472b9d27e7 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.6.1
+ 2.7.1
junit
diff --git a/java-errorreporting/samples/snapshot/pom.xml b/java-errorreporting/samples/snapshot/pom.xml
index 900cda8ed41..f3cda9147fa 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.6.1
+ 2.7.1
junit