diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 6a87caf516a..e2336317644 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 ac0f1c4ed15..76a95b55138 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