This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git
The following commit(s) were added to refs/heads/master by this push:
new f30192d SLING-9033 never export conditional packages
new 47fa471 Merge branch 'master' of
[email protected]:apache/sling-parent.git
f30192d is described below
commit f30192da4a69e07fccacc70d6b1ad0db9eff0823
Author: Konrad Windszus <[email protected]>
AuthorDate: Tue Jan 28 09:16:17 2020 +0100
SLING-9033 never export conditional packages
---
sling-bundle-parent/pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sling-bundle-parent/pom.xml b/sling-bundle-parent/pom.xml
index 45e0b5f..fd98506 100644
--- a/sling-bundle-parent/pom.xml
+++ b/sling-bundle-parent/pom.xml
@@ -67,8 +67,8 @@
# a lot of bundle header are generated from pom elements by default:
https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin#default-bundle-headers
Bundle-Category: sling
-# export all versioned packages by default
--exportcontents: ${packages;VERSIONED}
+# export all versioned packages except for conditional ones
(https://github.com/bndtools/bnd/issues/3721#issuecomment-579026778)
+-exportcontents: ${removeall;${packages;VERSIONED};${packages;CONDITIONAL}}
# see https://issues.apache.org/jira/browse/SLING-8980
-snapshot: SNAPSHOT