diff --git a/java-dlp/samples/install-without-bom/pom.xml b/java-dlp/samples/install-without-bom/pom.xml
index 483bbbda32ca..de37f08b09b9 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.11
+ 1.120.12
junit
diff --git a/java-dlp/samples/snapshot/pom.xml b/java-dlp/samples/snapshot/pom.xml
index c9cbfb485153..51368b11dfc0 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.11
+ 1.120.12
junit