diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 07f171f060..184e97c319 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -23,7 +23,7 @@
1.8
UTF-8
0.31.1
- 2.39.0
+ 2.41.0
3.40.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 3ac5d048dc..f40536bd52 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -23,7 +23,7 @@
1.8
UTF-8
0.31.1
- 2.39.0
+ 2.41.0
3.40.0