diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index eefaf1b918..7b01ad134e 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.11.0
+ 2.12.0
3.12.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 1d0e1830ec..db0dbcb9d0 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -22,7 +22,7 @@
1.8
UTF-8
0.31.1
- 2.11.0
+ 2.12.0
3.12.0