Hi Cristiano,

can you do feature:install -v to have details ?

I just checked and it doesn't occur in Karaf vanilla.

It's maybe a transitive feature.

Regards
JB

On 03/04/2016 09:30 AM, Cristiano Costantini wrote:
Hello all,

Why the feature spring/4.2.3.RELEASE_1 also installs bundles from Spring
version 3.1.4?

I'm having problem as the older version is recognized by some bundles which
do want at least a Spring 3.2.x version and my application fail to start...


I am installing the feature in SMX 7 (but also the same happen on SMX 6)
with the command:
   karaf@root>feature:install -v spring/4.2.3.RELEASE_1
   Adding features: spring/[4.2.3.RELEASE_1,4.2.3.RELEASE_1]
   Changes to perform:
   Region: root
   Bundles to install:

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/4.2.3.RELEASE_1

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/4.2.3.RELEASE_1

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/4.2.3.RELEASE_1

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/4.2.3.RELEASE_1

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/4.2.3.RELEASE_1

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/4.2.3.RELEASE_1
   mvn:org.springframework/spring-aop/*3.1.4.RELEASE*
   mvn:org.springframework/spring-asm/*3.1.4.RELEASE*
   mvn:org.springframework/spring-beans/*3.1.4.RELEASE*
   mvn:org.springframework/spring-context/*3.1.4.RELEASE*
   mvn:org.springframework/spring-context-support/*3.1.4.RELEASE*
   mvn:org.springframework/spring-core/*3.1.4.RELEASE*
   mvn:org.springframework/spring-expression/*3.1.4.RELEASE*



I don't understand as I don't expect all these bundles from version
3.1.4.RELEASE to be installed,  the feature:info command does not list them:
   karaf@root>feature:info spring/4.2.3.RELEASE_1
   Feature spring 4.2.3.RELEASE_1
   Description:
   Spring 4.2.x support
   Details:
   Spring Support
   Feature has no configuration
   Feature has no configuration files
   Feature has no dependencies.
   Feature contains followed bundles:

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_6
start-level=30

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/4.2.3.RELEASE_1
start-level=30

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/4.2.3.RELEASE_1
start-level=30

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/4.2.3.RELEASE_1
start-level=30

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/4.2.3.RELEASE_1
start-level=30

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/4.2.3.RELEASE_1
start-level=30

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/4.2.3.RELEASE_1
start-level=30
   Feature has no conditionals.


Could someone please explain why this is happening and how can I fix it
(avoid having the 3.1.4 bundles to be installed ?)

Thanks,
Cristiano


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to