Repository: jclouds-karaf
Updated Branches:
  refs/heads/master 181ba80f9 -> d06ce91d5


Minimize Groovy dependency

This shrinks jclouds-cli from 28 MB to 26 MB.


Project: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/commit/d06ce91d
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/tree/d06ce91d
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/diff/d06ce91d

Branch: refs/heads/master
Commit: d06ce91d53c6d75c33568e266cfd8917c21b025f
Parents: 181ba80
Author: Andrew Gaul <[email protected]>
Authored: Tue Feb 2 11:41:25 2016 -0800
Committer: Andrew Gaul <[email protected]>
Committed: Wed Feb 3 12:19:34 2016 -0800

----------------------------------------------------------------------
 chef/commands/pom.xml                  | 2 +-
 commands/pom.xml                       | 2 +-
 feature/src/main/resources/feature.xml | 3 ++-
 pom.xml                                | 8 +++++++-
 4 files changed, 11 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/d06ce91d/chef/commands/pom.xml
----------------------------------------------------------------------
diff --git a/chef/commands/pom.xml b/chef/commands/pom.xml
index 0c63b7e..b284085 100644
--- a/chef/commands/pom.xml
+++ b/chef/commands/pom.xml
@@ -113,7 +113,7 @@ limitations under the License.
     </dependency>
     <dependency>
       <groupId>org.codehaus.groovy</groupId>
-      <artifactId>groovy-all</artifactId>
+      <artifactId>groovy</artifactId>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>

http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/d06ce91d/commands/pom.xml
----------------------------------------------------------------------
diff --git a/commands/pom.xml b/commands/pom.xml
index d554a47..149124e 100644
--- a/commands/pom.xml
+++ b/commands/pom.xml
@@ -148,7 +148,7 @@ limitations under the License.
     </dependency>
     <dependency>
       <groupId>org.codehaus.groovy</groupId>
-      <artifactId>groovy-all</artifactId>
+      <artifactId>groovy</artifactId>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>

http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/d06ce91d/feature/src/main/resources/feature.xml
----------------------------------------------------------------------
diff --git a/feature/src/main/resources/feature.xml 
b/feature/src/main/resources/feature.xml
index a700be6..d142145 100644
--- a/feature/src/main/resources/feature.xml
+++ b/feature/src/main/resources/feature.xml
@@ -419,7 +419,8 @@ limitations under the License.
         <configfile 
finalname="/etc/org.apache.jclouds.shell.cfg">mvn:org.apache.jclouds.karaf/jclouds-karaf/${project.version}/cfg/shell</configfile>
         <feature version='${project.version}'>jclouds-services</feature>
         
<bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/${scripting.api.bundle.version}</bundle>
-        <bundle 
dependency="true">mvn:org.codehaus.groovy/groovy-all/${groovy.version}</bundle>
+        <bundle 
dependency="true">mvn:org.codehaus.groovy/groovy/${groovy.version}</bundle>
+        <bundle 
dependency="true">mvn:org.codehaus.groovy/groovy-jsr223/${groovy.version}</bundle>
         <bundle>mvn:org.apache.jclouds.karaf/core/${project.version}</bundle>
         <bundle>mvn:org.apache.jclouds.karaf/recipe/${project.version}</bundle>
         
<bundle>mvn:org.apache.jclouds.karaf/commands/${project.version}</bundle>

http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/d06ce91d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6bdf654..5f0e497 100644
--- a/pom.xml
+++ b/pom.xml
@@ -437,7 +437,13 @@ limitations under the License.
       <!-- Groovy -->
       <dependency>
         <groupId>org.codehaus.groovy</groupId>
-        <artifactId>groovy-all</artifactId>
+        <artifactId>groovy</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.codehaus.groovy</groupId>
+        <artifactId>groovy-jsr223</artifactId>
         <version>${groovy.version}</version>
       </dependency>
 

Reply via email to