You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2019/03/20 12:39:13 UTC

[karaf] branch master updated: [KARAF-6201] staticcm service should export org.osgi.service.cm package with version 1.6

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4720028  [KARAF-6201] staticcm service should export org.osgi.service.cm package with version 1.6
     new 4f180ea  Merge pull request #788 from jbonofre/KARAF-6201
4720028 is described below

commit 47200287008e124eef3d8b840477d030bd29c6f7
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Wed Mar 20 10:42:53 2019 +0100

    [KARAF-6201] staticcm service should export org.osgi.service.cm package with version 1.6
---
 services/staticcm/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/services/staticcm/pom.xml b/services/staticcm/pom.xml
index 19f5e05..77f8cf0 100644
--- a/services/staticcm/pom.xml
+++ b/services/staticcm/pom.xml
@@ -52,10 +52,10 @@
                             org.osgi.service.log;version="[1.3,2)"
                         </DynamicImport-Package>
                         <Import-Package>
-                            org.osgi.service.cm,
+                            !org.osgi.service.cm,
                             *
                         </Import-Package>
-                        <Export-Package>org.osgi.service.cm</Export-Package>
+                        <Export-Package>org.osgi.service.cm;version=1.6</Export-Package>
                         <Private-Package>
                             org.apache.karaf.services.staticcm,
                             org.apache.felix.utils.properties