diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 8747bf7329..13234f4499 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.5.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 8436787844..2e660da4a4 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.5.0