sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject [sling-org-apache-sling-jcr-base] branch master updated: SLING-7604 Add missing OSGi capabilities
Date Sun, 22 Apr 2018 20:25:20 GMT
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-base.git


The following commit(s) were added to refs/heads/master by this push:
     new ca1932c  SLING-7604 Add missing OSGi capabilities
ca1932c is described below

commit ca1932c61d8a5886266f8205f258995e3092d559
Author: Oliver Lietz <olli@apache.org>
AuthorDate: Sun Apr 22 22:11:45 2018 +0200

    SLING-7604 Add missing OSGi capabilities
    
    fix capability (service implements both interfaces)
---
 pom.xml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index dd3e159..38c0d19 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,10 +57,9 @@
                         <Bundle-Category>
                             sling,jcr,jackrabbit
                         </Bundle-Category>
-                        <Provide-Capability>
-                            osgi.service;objectClass=javax.jcr.Repository,
-                            osgi.service;objectClass=org.apache.sling.jcr.api.SlingRepository
-                        </Provide-Capability>
+                        <Provide-Capability><![CDATA[
+                            osgi.service;objectClass:List<String>="javax.jcr.Repository,org.apache.sling.jcr.api.SlingRepository"
+                        ]]></Provide-Capability>
                     </instructions>
                 </configuration>
             </plugin>

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.

Mime
View raw message