diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 05be4ba11db..0fe3c4f9458 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.24.0
+ 2.28.0
3.23.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index da3834c195a..87f364153b0 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -22,7 +22,7 @@
1.8
UTF-8
0.31.1
- 2.24.0
+ 2.28.0
3.23.0