From ef7b85130e66e0b80c4c4882d4348e1b0b0a9d4a Mon Sep 17 00:00:00 2001 From: Ignasi Barrera Date: Fri, 22 Jan 2016 10:45:59 +0100 Subject: [PATCH] JCLOUDS-1056: Configure OSGi packaging --- apis/oauth/pom.xml | 3 +++ common/googlecloud/pom.xml | 6 ++++++ providers/digitalocean2/pom.xml | 2 ++ providers/google-compute-engine/pom.xml | 8 ++++++++ 4 files changed, 19 insertions(+) diff --git a/apis/oauth/pom.xml b/apis/oauth/pom.xml index 0ff4790ca2..7370501105 100644 --- a/apis/oauth/pom.xml +++ b/apis/oauth/pom.xml @@ -30,6 +30,7 @@ oauth jclouds OAuth core jclouds components to access OAuth + bundle FIX_ME @@ -39,6 +40,8 @@ FIX_ME 2 + org.jclouds.oauth*;version="${project.version}" + org.jclouds*;version="${project.version}",* diff --git a/common/googlecloud/pom.xml b/common/googlecloud/pom.xml index 2d67e7350a..be66168569 100644 --- a/common/googlecloud/pom.xml +++ b/common/googlecloud/pom.xml @@ -31,6 +31,12 @@ googlecloud jclouds Google Cloud Core jclouds components common to Google Cloud products + bundle + + + org.jclouds.googlecloud*;version="${project.version}";-noimport:=true + org.jclouds*;version="${project.version}",* + diff --git a/providers/digitalocean2/pom.xml b/providers/digitalocean2/pom.xml index c1dd83d1ac..f7171d974a 100644 --- a/providers/digitalocean2/pom.xml +++ b/providers/digitalocean2/pom.xml @@ -31,6 +31,7 @@ digitalocean2 jclouds DigitalOcean v2 API Provider jclouds provider for Digital Ocean v2 Compute API + bundle https://api.digitalocean.com/v2/ @@ -40,6 +41,7 @@ osFamily=UBUNTU,os64Bit=true org.jclouds.digitalocean2*;version="${project.version}" + org.jclouds.compute.internal;version="${project.version}", org.jclouds.rest.internal;version="${project.version}", org.jclouds*;version="${project.version}", * diff --git a/providers/google-compute-engine/pom.xml b/providers/google-compute-engine/pom.xml index 2e26052497..e59c7484a0 100644 --- a/providers/google-compute-engine/pom.xml +++ b/providers/google-compute-engine/pom.xml @@ -31,6 +31,7 @@ google-compute-engine jclouds Google Compute Engine provider jclouds components to access GoogleCompute + bundle client_email which usually looks like project_id@developer.gserviceaccount.com @@ -41,6 +42,13 @@ v1 imageNameMatches=debian-7-wheezy-v[0-9]*,locationId=us-central1-a,minRam=2048 + org.jclouds.googlecomputeengine*;version="${project.version}" + + org.jclouds.compute.internal;version="${project.version}", + org.jclouds.rest.internal;version="${project.version}", + org.jclouds*;version="${project.version}", + * +