diff --git a/distribution/src/main/release/samples/groovy_spring_support/pom.xml b/distribution/src/main/release/samples/groovy_spring_support/pom.xml
index 66d9a401773..fe1950ac2a8 100644
--- a/distribution/src/main/release/samples/groovy_spring_support/pom.xml
+++ b/distribution/src/main/release/samples/groovy_spring_support/pom.xml
@@ -124,7 +124,7 @@
org.apache.groovy
groovy
- 5.0.8
+ 5.1.1
org.springframework
diff --git a/parent/pom.xml b/parent/pom.xml
index 7528957d1d6..9967223ccb9 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -591,7 +591,7 @@
org.apache.groovy
groovy
- 5.0.8
+ 5.1.1