diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index cd2780c95be..188abac8543 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 21625110fd5..71b5fe1e882 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