diff --git a/custom-scripted-connector-bundler/pom.xml b/custom-scripted-connector-bundler/pom.xml
index 30763aa02..249cad48e 100644
--- a/custom-scripted-connector-bundler/pom.xml
+++ b/custom-scripted-connector-bundler/pom.xml
@@ -133,7 +133,7 @@
org.codehaus.groovy
groovy-all
- 2.2.2
+ 2.4.21
diff --git a/custom-scripted-connector-bundler/src/main/resources/pom.template b/custom-scripted-connector-bundler/src/main/resources/pom.template
index df821df90..93fe84562 100644
--- a/custom-scripted-connector-bundler/src/main/resources/pom.template
+++ b/custom-scripted-connector-bundler/src/main/resources/pom.template
@@ -91,7 +91,7 @@
org.codehaus.groovy
groovy-all
- 2.2.2
+ 2.4.21
provided