You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by gh...@apache.org on 2021/12/17 12:24:41 UTC

[felix-dev] branch master updated: FELIX-6486 ensure dynamic imports of optional packages

This is an automated email from the ASF dual-hosted git repository.

ghenzler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
     new 2b4a8de  FELIX-6486 ensure dynamic imports of optional packages
2b4a8de is described below

commit 2b4a8de59c909a92d95fe8579faaa385b60b812f
Author: georg.henzler <ge...@netcentric.biz>
AuthorDate: Fri Dec 17 13:24:05 2021 +0100

    FELIX-6486 ensure dynamic imports of optional packages
    
    (dynamic import rather than optional package as the providing bundles
    have a higher start level)
---
 healthcheck/generalchecks/bnd.bnd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/healthcheck/generalchecks/bnd.bnd b/healthcheck/generalchecks/bnd.bnd
index e120abc..c0bc697 100644
--- a/healthcheck/generalchecks/bnd.bnd
+++ b/healthcheck/generalchecks/bnd.bnd
@@ -10,4 +10,5 @@ Bundle-Vendor: The Apache Software Foundation
 
 Conditional-Package: org.apache.commons.cli.*,org.apache.felix.utils.*,org.apache.felix.hc.core.impl.util.lang.*
 
-Import-Package: org.apache.felix.rootcause*;resolution:="optional", *
\ No newline at end of file
+DynamicImport-Package: javax.jcr,org.apache.sling.api.adapter
+Import-Package: org.apache.felix.rootcause*;resolution:="optional",!javax.jcr,!org.apache.sling.api.adapter,*