This is an automated email from the ASF dual-hosted git repository.

gaul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jclouds.git

commit 0eb89aef6d0113c86ca0b9b484f4b535b888ce31
Author: gurkerl83 <markus_grit...@gmx.de>
AuthorDate: Mon Oct 26 16:08:53 2020 +0100

    Move from OSGi Spec V4.2 to V6
    
    Increase of OSGi dependencies core and compendium (now cmpn) from 4.2 to 
6.0.
    Previously it was possible to run JClouds in OSGi environments from version 
4.
    
    An essential aspect to use JClouds in an OSGi environment requires 
so-called feature sets. These can be generated manually or automatically - see 
JClouds-Karaf project. Since there have been significant changes in the 
structure and behaviour of Karaf in the meantime, an adaptation is appropriate.
    
    Breaking change - probably not, as no other APIs of core and compendium are 
used than up to now.
    
    OSGi - V4.2 - Karaf 2.2.x - to 2.2.9 (Current Status - not active)
    OSGi - V6.0 - Karaf 4.1.x - 4.2 (Current Status - active)
---
 core/pom.xml    | 2 +-
 project/pom.xml | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/core/pom.xml b/core/pom.xml
index 6a85d41..fa29452 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -64,7 +64,7 @@
     </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
-      <artifactId>org.osgi.compendium</artifactId>
+      <artifactId>osgi.cmpn</artifactId>
       <scope>provided</scope>
     </dependency>
     <dependency>
diff --git a/project/pom.xml b/project/pom.xml
index f033efa..564f984 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -248,8 +248,7 @@
     <logback.version>1.1.2</logback.version>
 
     <!-- OSGi dependency versions -->
-    <osgi.version>4.2.0</osgi.version>
-    <osgi.compendium.version>${osgi.version}</osgi.compendium.version>
+    <osgi.version>6.0.0</osgi.version>
 
     <!-- Test dependency versions -->
     <testng.version>6.8.21</testng.version>
@@ -369,8 +368,8 @@
       </dependency>
       <dependency>
         <groupId>org.osgi</groupId>
-        <artifactId>org.osgi.compendium</artifactId>
-        <version>${osgi.compendium.version}</version>
+        <artifactId>osgi.cmpn</artifactId>
+        <version>${osgi.version}</version>
       </dependency>
 
       <!-- Test dependencies -->

Reply via email to