From 5a3cfe5dbe5398ee6c81a21a279363c3caa51728 Mon Sep 17 00:00:00 2001 From: Guglielmo Nigri Date: Tue, 15 Nov 2016 10:58:21 +0100 Subject: [PATCH] Fix okio version range for jclouds-okhttp OSGi bundle for jclouds-okhttp should import okio package with correct version range. Currently, there is no version range specified, causing it to be wired to a higher version than intended in complex environments that have more than one bundle for okio installed. --- drivers/okhttp/pom.xml | 2 +- project/pom.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/okhttp/pom.xml b/drivers/okhttp/pom.xml index 7be5feb12f..8e9eef9001 100644 --- a/drivers/okhttp/pom.xml +++ b/drivers/okhttp/pom.xml @@ -33,7 +33,7 @@ org.jclouds.http.okhttp*;version="${project.version}" - org.jclouds*;version="${project.version}",* + org.jclouds*;version="${project.version}",${okio.osgi.import},* diff --git a/project/pom.xml b/project/pom.xml index 163625f95a..00ad82ecd2 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -226,6 +226,7 @@ com.google.common.*;version="[16.0.1,20.0.0)" 3.0 2.2.0 + okio;version="[1.2.0,1.3)" 2.17 1.7.0 1.3.0