diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index d2d45badd19..5867b91713b 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.17.0
+ 2.18.0
3.18.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 6bff0da2aef..3d0725fb306 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -22,7 +22,7 @@
1.8
UTF-8
0.31.1
- 2.17.0
+ 2.18.0
3.18.0