diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 43f5cbbb2e3..cc0690787bc 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.3.7
+ 2.4.0
3.4.6
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 0d96b4a60fd..8a3c5290a43 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -22,7 +22,7 @@
1.8
UTF-8
0.31.1
- 2.3.7
+ 2.4.0
3.4.6