[
https://issues.apache.org/jira/browse/SLING-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476395#comment-16476395
]
Oliver Lietz commented on SLING-7575:
-------------------------------------
bq. 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.
First two are from {{maven-bundle-plugin}}, last two are from bnd:
https://bnd.bndtools.org/chapters/800-headers.html Right?
So this should be fine:
{noformat}
-removeheaders:\
Include-Resource,\
Private-Package
{noformat}
> 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/[email protected]/msg76177.html])
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)