You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/05/12 12:57:00 UTC

[jira] [Created] (KARAF-3722) Feature resolver change bundles package export

Jean-Baptiste Onofré created KARAF-3722:
-------------------------------------------

             Summary: Feature resolver change bundles package export
                 Key: KARAF-3722
                 URL: https://issues.apache.org/jira/browse/KARAF-3722
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature
    Affects Versions: 4.0.0.M3
            Reporter: Jean-Baptiste Onofré
            Priority: Blocker
             Fix For: 4.0.0.M3


With latest 4.0.0-SNAPSHOT, when we code:

{code}
feature:repo-add cxf 3.1.1-SNAPSHOT
feature:install cxf
{code}

and check the exports of the CXF security bundle (with bundle ID 93 on my box), we have:

{code}
imports -b 93
org.opensaml.saml.common                       | [3.1.0,4.0.0) | resolved | 93 | org.apache.cxf.cxf-rt-ws-security
org.opensaml.saml.saml1.core                   | [3.1.0,4.0.0) | resolved | 93 | org.apache.cxf.cxf-rt-ws-security
org.opensaml.saml.saml2.core                   | [3.1.0,4.0.0) | resolved | 93 | org.apache.cxf.cxf-rt-ws-security
…..
net.sf.ehcache                                 | [2.5.0,3.0.0) | resolved | 93 | org.apache.cxf.cxf-rt-ws-security
net.sf.ehcache.config                          | [2.5.0,3.0.0) | resolved | 93 | org.apache.cxf.cxf-rt-ws-security
{code}

Now, we install the cxf-sts feature and do the same thing:

{code}
feature:install cxf-sts
imports -b 93
{code}

the optional imports are no longer resolver (causing NoClassDefFound cxf-rt-ws-security for instance).

It looks like the resolver change the export/resolution.

It's an important regression IMHO that we have to address.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)