diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 120c2564..3a551b24 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 b3f8051d..ac810172 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