Hello,

After more investigation, i think my issue comme from the conditional in the
spring features :
"mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/4.0.3"

all spring features declare a conditional on this bundle. 
In my resolution chain :
- spring-dm has a requirement on spring-dm-condition-deployer ;
- spring-dm-condition-deployer has a requirement on
org.apache.karaf.deployer.spring/4.0.3
- i have 4 candidates for this bundle (with respectively a requirement on
the feature spring/3.1.4, spring/3.2.14, spring-dm/1.2.1 and deployer/4.0.3)

The candidates don't seem to be ordered, and the resolver use only the first
capability in the list. randomly, i have spring 3.1.4+spring 3.2.14, or only
spring 3.2.14

This issue prevent my to use Karaf 4.0.3 : The next time i install a
feature, the resolver uninstall Spring 3.1.4, uninstall unrelated bundles
(jms, jdbc drivers..), and refresh all the bundles. After that, my container
is obviously in an incoherent state...






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-4-0-3-Features-resolution-is-not-consistent-tp4043910p4043952.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to