diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 6e473e77fa2..eacd9dc7461 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -23,7 +23,7 @@
UTF-8
0.31.1
2.17.0
- 3.17.0
+ 3.18.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 177efd7c93e..eb1f959b27a 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -23,7 +23,7 @@
UTF-8
0.31.1
2.17.0
- 3.17.0
+ 3.18.0