You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/04/18 20:27:13 UTC

[sling-org-apache-sling-resourceresolver] branch master updated: SLING-7592 Add missing OSGi capabilities

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-resourceresolver.git


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

commit 31d72cebd91b8a1e2b736e470c3fdaa7ad347d42
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Apr 18 22:27:02 2018 +0200

    SLING-7592 Add missing OSGi capabilities
---
 pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/pom.xml b/pom.xml
index 4123989..2d9af60 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,6 +72,13 @@
                             javax.jcr;resolution:=optional,
                             *
                         </Import-Package>
+                        <Provide-Capability>
+                            osgi.service;objectClass=javax.servlet.Servlet,
+                            osgi.service;objectClass=org.apache.sling.api.resource.ResourceResolverFactory,
+                            osgi.service;objectClass=org.apache.sling.api.resource.observation.ResourceChangeListener,
+                            osgi.service;objectClass=org.apache.sling.api.resource.runtime.RuntimeService,
+                            osgi.service;objectClass=org.apache.sling.spi.resource.provider.ResourceProvider
+                        </Provide-Capability>
                     </instructions>
                 </configuration>
             </plugin>

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