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

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

    [ https://issues.apache.org/jira/browse/KARAF-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539796#comment-14539796 ] 

Guillaume Nodet commented on KARAF-3722:
----------------------------------------

I've fixed the commands and the PackageService interface
   https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=261f30a45f44409e3ace364fe6f9a3985bdf35c4
Packages exported/imported by different bundles were hidden.

> 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)