diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 42d2f064..5fb052f9 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.6
+ 3.21.7
junit
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index dd148857..8be312dc 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.6
+ 3.21.7
junit