diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index f501936501..da3982f0ba 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.30.0
+ 2.31.0
3.23.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 897f54a943..9db203eb40 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -22,7 +22,7 @@
1.8
UTF-8
0.31.1
- 2.30.0
+ 2.31.0
3.23.0