diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 3edf31a0..8186e795 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.1
+ 1.120.2
junit
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index ebd79282..7bd840b5 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.1
+ 1.120.2
junit