diff --git a/dlp/snippets/install-without-bom/pom.xml b/dlp/snippets/install-without-bom/pom.xml
index af5e5f0ce8b..4d5197431b5 100644
--- a/dlp/snippets/install-without-bom/pom.xml
+++ b/dlp/snippets/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/dlp/snippets/snapshot/pom.xml b/dlp/snippets/snapshot/pom.xml
index f6d7fbd712f..e68cbbe7bc4 100644
--- a/dlp/snippets/snapshot/pom.xml
+++ b/dlp/snippets/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.3
+ 1.120.5
junit