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 2016/04/15 16:27:25 UTC

[jira] [Reopened] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

     [ https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reopened KARAF-4411:
-----------------------------------------

We have a similar "weird" behaviour with activemq-client feature.

To reproduce it:

{code}
feature:repo-add activemq 5.13.2
feature:install activemq-client
{code}

The {{activemq-client}} feature installs Spring 3.2.x bundles and xbean-spring 3.18.0 bundle.

After that, if I install {{spring/4.2.5.RELEASE_1}} feature, it triggers a refresh of activemq-client and xbean-spring bundles. However, spring 3.1.x bundles are installed whereas they are not required as spring 3.2.x already satisfy the constraints.

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time
> --------------------------------------------------------------------------------------------
>
>                 Key: KARAF-4411
>                 URL: https://issues.apache.org/jira/browse/KARAF-4411
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.4
>         Environment: Oracle JDK 1.8
>            Reporter: Vladimir Konkov
>            Assignee: Guillaume Nodet
>             Fix For: 4.1.0, 4.0.5
>
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE    | Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE    | Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE    | Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE    | Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE    | Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE    | Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE    | Spring Expression Language
> 113 | Active   |  30 | 1.2.1            | spring-osgi-web



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