diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 01f0d33a3..f37868b4c 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.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 58a6ea015..2cb3f3111 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.0
junit