diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index d88e7bdc..0d28e00a 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.cloud
google-cloud-pubsub
- 1.117.0
+ 1.118.0
junit
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 138253ef..fad04e99 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-pubsub
- 1.117.0
+ 1.118.0
junit