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-servlets-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a26164  SLING-9998 Remove required internal OSGi capabilities
7a26164 is described below

commit 7a2616457dee210bcaf3a104b7c390c7891c286c
Author: Oliver Lietz <[email protected]>
AuthorDate: Wed Dec 30 00:20:13 2020 +0100

    SLING-9998 Remove required internal OSGi capabilities
---
 bnd.bnd | 10 ++++++++++
 pom.xml | 11 +++++++++++
 2 files changed, 21 insertions(+)

diff --git a/bnd.bnd b/bnd.bnd
index b41262b..05a4426 100644
--- a/bnd.bnd
+++ b/bnd.bnd
@@ -8,6 +8,16 @@ Provide-Capability:\
 -includeresource:\
   
@org.apache.sling.engine-*.jar!/org/apache/sling/engine/impl/request/SlingRequestPathInfo*
 
+-plugin:\
+  org.apache.sling.bnd.plugin.headers.parameters.remove.Plugin;\
+    
'Require-Capability'='osgi.service;filter:="(objectClass=org.apache.sling.servlets.resolver.internal.resolution.ResolutionCache)";effective:=active',\
+  org.apache.sling.bnd.plugin.headers.parameters.remove.Plugin;\
+    
'Require-Capability'='osgi.service;filter:="(objectClass=org.apache.sling.servlets.resolver.internal.resolution.ResolutionCache)";effective:=active;resolution:=optional;cardinality:=multiple',\
+  org.apache.sling.bnd.plugin.headers.parameters.remove.Plugin;\
+    
'Require-Capability'='osgi.service;filter:="(objectClass=org.apache.sling.servlets.resolver.internal.resource.MergingServletResourceProvider)";effective:=active',\
+  org.apache.sling.bnd.plugin.headers.parameters.remove.Plugin;\
+    
'Require-Capability'='osgi.service;filter:="(objectClass=org.apache.sling.servlets.resolver.internal.resource.ServletMounter)";effective:=active'
+
 -removeheaders:\
   Include-Resource,\
   Private-Package
diff --git a/pom.xml b/pom.xml
index c4a0af9..60ce509 100644
--- a/pom.xml
+++ b/pom.xml
@@ -53,6 +53,17 @@
     <build>
         <plugins>
             <plugin>
+                <groupId>biz.aQute.bnd</groupId>
+                <artifactId>bnd-maven-plugin</artifactId>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache.sling</groupId>
+                        
<artifactId>org.apache.sling.bnd.plugin.headers.parameters.remove</artifactId>
+                        <version>1.0.0</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <configuration>

Reply via email to