[ https://issues.apache.org/jira/browse/SLING-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476389#comment-16476389 ]
Oliver Lietz commented on SLING-7575: ------------------------------------- [~kwin], this instruction removes (in my opinion) unnecessary data from {{MANIFEST.MF}} which is added by bnd, e.g. JCR Oak Server bundle without {{-removeheaders}} contains: {noformat} Private-Package: org.apache.jackrabbit.oak.plugins.index.lucene.util,o rg.apache.sling.jcr.oak.server.internal {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/dev@sling.apache.org/msg76177.html]) -- This message was sent by Atlassian JIRA (v7.6.3#76005)