[ 
https://issues.apache.org/jira/browse/SLING-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476381#comment-16476381
 ] 

Konrad Windszus edited comment on SLING-7575 at 5/15/18 7:41 PM:
-----------------------------------------------------------------

[~olli] Why is that instruction necessary? Who adds those headers in the first 
place? AFAIK all those headers are only used in the context of the 
maven-bundle-plugin. They were never interpreted by bnd in any way, and should 
therefore not be used with the bnd-maven-plugin.


was (Author: kwin):
[~olli] Why is that instruction necessary? Who adds those headers in the first 
place?

> Define common instructions for bnd-maven-plugin
> -----------------------------------------------
>
>                 Key: SLING-7575
>                 URL: https://issues.apache.org/jira/browse/SLING-7575
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: Parent 33
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Parent 34
>
>
> Once [https://github.com/bndtools/bnd/issues/2265] is fixed and released in 
> {{bnd-maven-plugin}} 4.0 we should upgrade to that version and make sure to 
> define all the instructions common to all Sling bundles in the parameter 
> {{bnd}} of the parent. Those instructions should include
>  # Bundle-Category: sling
>  # Bundle-Description: ${project.description}
>  # Bundle-DocURL: https://sling.apache.org|https://sling.apache.org/
>  # Bundle-License: Apache License, Version 2.0
>  # Bundle-Vendor: The Apache Software Foundation
>  # -exportcontents: 
> ${removeall;${packages;VERSIONED};${packages;CONDITIONAL}}, this is to by 
> default export all versioned packages, except for the ones which are 
> conditionally included, compare with 
> [https://github.com/bndtools/bnd/issues/2131]
>  # -snapshot: ${tstamp;yyyyMMddHHmmssSSS} (compare with 
> [https://www.mail-archive.com/dev@sling.apache.org/msg76177.html])



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

Reply via email to