SLING-5377 Update Groovy to 2.4.5
* add property groovy.version 2.4.5
* use groovy, groovy-json, groovy-templates and groovy-xml instead of groovy-all
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1720149 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index e707693..4d0b791 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,6 +37,10 @@
Support for scripting with Groovy
</description>
+ <properties>
+ <groovy.version>2.4.5</groovy.version>
+ </properties>
+
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/scripting/groovy</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/scripting/groovy</developerConnection>
@@ -58,12 +62,30 @@
</build>
<dependencies>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <version>2.4.3</version>
- <scope>provided</scope>
- </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <version>${groovy.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-json</artifactId>
+ <version>${groovy.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-templates</artifactId>
+ <version>${groovy.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-xml</artifactId>
+ <version>${groovy.version}</version>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>