diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 01f0d33a3..9d6168675 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.18.1
+ 3.19.1
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 58a6ea015..85f25d04c 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -39,7 +39,7 @@
com.google.protobuf
protobuf-java-util
- 3.18.1
+ 3.19.1
junit