[
https://issues.apache.org/jira/browse/SLING-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476397#comment-16476397
]
Konrad Windszus commented on SLING-7575:
----------------------------------------
[~olli] Do you have some reference by which instructions those headers are
being generated. At least {{Embed-Dependency}} and {{Embed-Transitive}} are not
at all within bnd (only maven-bundle-plugin). Both {{Include-Resource}} and
{{Private-Package}} are documented in
https://bnd.bndtools.org/chapters/800-headers.html but I am not sure who adds
those in the first place for JCR Oak Server
(https://github.com/apache/sling-org-apache-sling-jcr-oak-server/blob/master/bnd.bnd).
> 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)