From fc5f5e509efea1341a3fb607c8e180708092d4b1 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 3912ee4ab4..f69dfbc550 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -206,6 +206,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 @@ -772,7 +773,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 f7a2e4cae1..92e8f4ae7d 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} - - - - - -