diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index e35bc1536a..672e960ae3 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.47.0
+ 2.51.0
3.48.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index f4a8337bb1..33cbab0736 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -23,7 +23,7 @@
1.8
UTF-8
0.31.1
- 2.47.0
+ 2.51.0
3.48.0