Merge branch 'master' of git@github.com:apache/sling-parent.git
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