diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 8627306f..ccb387c4 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.17.3
+ 3.18.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index a65cfdb0..936f5aa7 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -39,7 +39,7 @@
com.google.protobuf
protobuf-java-util
- 3.17.3
+ 3.18.0
junit