You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/01/28 08:18:00 UTC
[jira] [Resolved] (SLING-9033) Never export conditional packages
[ https://issues.apache.org/jira/browse/SLING-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved SLING-9033.
------------------------------------
Resolution: Fixed
Fixed in https://github.com/apache/sling-parent/commit/f30192da4a69e07fccacc70d6b1ad0db9eff0823.
> Never export conditional packages
> ---------------------------------
>
> Key: SLING-9033
> URL: https://issues.apache.org/jira/browse/SLING-9033
> Project: Sling
> Issue Type: Improvement
> Components: General
> Affects Versions: Bundle Parent 36
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Bundle Parent 37
>
>
> By default all versioned packages are exported no matter whether they are conditionalpackages (https://bnd.bndtools.org/instructions/conditionalpackage.html) or not. As conditionalpackages should never be exported the according instruction should be modified to
> {code}
> -exportcontents: ${removeall;${packages;VERSIONED};${packages;CONDITIONAL}}
> {code}
> This says to export all versioned packages except those which are conditionally added
> (https://github.com/bndtools/bnd/issues/3721#issuecomment-579026778)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)