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/09/11 09:19:00 UTC
[jira] [Updated] (SLING-8229) Provide a bnd plugin to remove header
parameters
[ https://issues.apache.org/jira/browse/SLING-8229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oliver Lietz updated SLING-8229:
--------------------------------
Description:
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.plugin.headers.parameters.remove.Plugin;\
'Require-Capability'='osgi.service;filter:="(objectClass=org.osgi.service.event.EventHandler)";effective:=active;cardinality:=multiple'
{noformat}
was:
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}
> 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
> Priority: Major
> Fix For: bnd Remove Parameters from OSGi Headers Plugin 1.0.0
>
>
> 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.plugin.headers.parameters.remove.Plugin;\
> 'Require-Capability'='osgi.service;filter:="(objectClass=org.osgi.service.event.EventHandler)";effective:=active;cardinality:=multiple'
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)