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:41:08 UTC

[karaf] branch karaf-4.2.x 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 karaf-4.2.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.2.x by this push:
     new eb35045  [KARAF-6201] staticcm service should export org.osgi.service.cm package with version 1.6
eb35045 is described below

commit eb3504516f564ccb284cdb47af05976ddaa87991
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 815532e..96a3718 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