diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index ab8f2b852e4..2f7938bf98b 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.20.0
- 3.20.0
+ 3.21.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index b8ec53fe51e..892b2d98b4a 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -23,7 +23,7 @@
UTF-8
0.31.1
2.20.0
- 3.20.0
+ 3.21.0