diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index af5e5f0c..4d519743 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.120.3
+ 1.120.5
junit
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index f6d7fbd7..e68cbbe7 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.3
+ 1.120.5
junit