You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2019/01/21 19:48:00 UTC

[jira] [Created] (SLING-8229) Provide a bnd plugin to remove header parameters

Oliver Lietz created SLING-8229:
-----------------------------------

             Summary: Provide a bnd plugin to remove header parameters
                 Key: SLING-8229
                 URL: https://issues.apache.org/jira/browse/SLING-8229
             Project: Sling
          Issue Type: New Feature
          Components: Extensions
            Reporter: Oliver Lietz
            Assignee: Oliver Lietz
             Fix For: bnd Plugins 0.0.2


The plugin removes parameters from bundle headers.

See bnd issue [#2429|https://github.com/bndtools/bnd/issues/2429] and SLING-8178.

Example instruction (for bnd file):
{noformat}
-plugin:\
  org.apache.sling.bnd.plugins.header.RemoveParametersPlugin;\
    'Require-Capability'='osgi.service;filter:="(objectClass=org.osgi.service.event.EventAdmin)";effective:=active,osgi.service;filter:="(objectClass=org.osgi.service.event.EventHandler)";effective:=active;cardinality:=multiple'
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)