diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 6a87caf516..e233631764 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 ac0f1c4ed1..76a95b5513 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