diff --git a/java-dlp/samples/install-without-bom/pom.xml b/java-dlp/samples/install-without-bom/pom.xml
index 4d5197431b5..89f642fa880 100644
--- a/java-dlp/samples/install-without-bom/pom.xml
+++ b/java-dlp/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.5
+ 1.120.8
junit
diff --git a/java-dlp/samples/snapshot/pom.xml b/java-dlp/samples/snapshot/pom.xml
index e68cbbe7bc4..779543c64a3 100644
--- a/java-dlp/samples/snapshot/pom.xml
+++ b/java-dlp/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.5
+ 1.120.8
junit