diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index b4323eff9..a526f6edb 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -20,7 +20,7 @@
1.8
1.8
- 2.41.0
+ 2.42.0
UTF-8
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index dc71c2604..f3d3d3ce3 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -23,7 +23,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
1.8
1.8
- 2.41.0
+ 2.42.0
UTF-8
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 47cfdecd4..9af1425c9 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -21,7 +21,7 @@
1.8
1.8
UTF-8
- 2.41.0
+ 2.42.0
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 730bee4fd..7f9987a14 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -21,7 +21,7 @@
1.8
1.8
UTF-8
- 2.41.0
+ 2.42.0