diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 56d5d603..20124eb3 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -41,7 +41,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.1
+ 3.21.2
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 4042ce3a..d101c19e 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -39,7 +39,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.1
+ 3.21.2
junit