diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 3d123160dac..65807a3b499 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -22,7 +22,7 @@
1.8
UTF-8
0.31.1
- 2.22.0
+ 2.24.0
3.23.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 2bafeadd1c5..ad1bfbe9358 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -22,7 +22,7 @@
1.8
UTF-8
0.31.1
- 2.22.0
+ 2.24.0
3.23.0