diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 9f9ffce1..4d31bf3b 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.17.3
+ 3.18.0
junit
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 06a0c816..585f6a82 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.protobuf
protobuf-java-util
- 3.17.3
+ 3.18.0
junit