From 9a20cadaf948d5a844ecb2b308edd5d1b669cca9 Mon Sep 17 00:00:00 2001 From: Ciprian Ciubotariu Date: Tue, 8 Mar 2016 23:12:49 +0200 Subject: [PATCH] Improve version range specification for guava The defaults of maven-bundle-plugin set the required version range to only match guava-16, but the actual usage of guava within jclouds allows any version after guava-16. This helps dependent projects mix jclouds with bundles using other guava versions within OSGi environments. --- project/pom.xml | 3 ++- scriptbuilder/pom.xml | 21 --------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/project/pom.xml b/project/pom.xml index d5bc5ba309..b344be851d 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -223,6 +223,7 @@ gitsite:git@github.com/jclouds/jclouds-maven-site.git 1.3.0 16.0.1 + com.google.common.*;version="[16.0.1,20.0.0)" 3.0 2.2.0 2.17 @@ -819,7 +820,7 @@ ${jclouds.osgi.activator} ${project.artifactId} ${jclouds.osgi.export} - ${jclouds.osgi.import} + ${guava.osgi.import},${jclouds.osgi.import} ${jclouds.osgi.dynamic} ${jclouds.osgi.fragment} diff --git a/scriptbuilder/pom.xml b/scriptbuilder/pom.xml index 406c0fe738..df80961f9b 100644 --- a/scriptbuilder/pom.xml +++ b/scriptbuilder/pom.xml @@ -64,25 +64,4 @@ - - - - org.apache.felix - maven-bundle-plugin - - - NONE - - ${project.artifactId} - ${jclouds.osgi.export} - ${jclouds.osgi.import} - ${jclouds.osgi.dynamic} - ${jclouds.osgi.fragment} - ${jclouds.osgi.activator} - - - - - -