SLING-7603 Add missing OSGi capabilities
authorOliver Lietz <olli@apache.org>
Thu, 19 Apr 2018 20:28:53 +0000 (22:28 +0200)
committerOliver Lietz <olli@apache.org>
Thu, 19 Apr 2018 20:28:53 +0000 (22:28 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index 20301cf..323592b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                       !org.apache.sling.scripting.core.impl.helper,
                       *
                     </Import-Package>
+                    <Provide-Capability>
+                      osgi.service;objectClass=java.lang.Runnable,
+                      osgi.service;objectClass=javax.servlet.Servlet,
+                      osgi.service;objectClass=org.apache.sling.api.adapter.AdapterFactory,
+                      osgi.service;objectClass=org.apache.sling.models.factory.ModelFactory
+                    </Provide-Capability>
                   </instructions>
                 </configuration>
             </plugin>