Thanks! in the meanwhile, I've tested and this does not happen on ServiceMix 6.1.0, here it installs only Spring 4 bundles
Il giorno ven 4 mar 2016 alle ore 12:28 Jean-Baptiste Onofré < [email protected]> ha scritto: > I bet that installing spring feature resolved a optional import or a > condition in ServiceMix features, defining a version range like [3,) so > installing the required feature. > > Let me take a look. > > Regards > JB > > On 03/04/2016 12:24 PM, Cristiano Costantini wrote: > > This is the full output, on a clean Servicemix 7.0.0.M1 > > > > *karaf@root>feature:install -v spring* > > > > 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* > > > > Installing bundles: > > > > > > > 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 > > > > Stopping bundles: > > > > org.apache.xbean.spring/3.18.0 > > > > org.apache.servicemix.activemq.service/7.0.0.M1 > > > > org.apache.servicemix.activemq.camel/7.0.0.M1 > > > > org.apache.camel.camel-spring/2.16.2 > > > > org.apache.camel.camel-jms/2.16.2 > > > > org.apache.camel.camel-cxf-transport/2.16.2 > > > > org.apache.camel.camel-cxf/2.16.2 > > > > org.apache.aries.transaction.manager/1.1.1 > > > > org.apache.activemq.activemq-osgi/5.13.0 > > > > org.apache.activemq.activemq-camel/5.13.0 > > > > activemq-karaf/5.13.0 > > > > org.apache.cxf.cxf-rt-wsdl/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-security/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-rm/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-policy/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-mex/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-addr/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-udp/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-local/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-jms/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-http-jetty/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-http/3.1.4 > > > > org.apache.cxf.cxf-rt-security-saml/3.1.4 > > > > org.apache.cxf.cxf-rt-security/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-service-description/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-extension-search/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-extension-providers/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-client/3.1.4 > > > > org.apache.cxf.cxf-rt-management/3.1.4 > > > > org.apache.cxf.cxf-rt-javascript/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-simple/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-js/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-jaxws/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-jaxrs/3.1.4 > > > > org.apache.cxf.cxf-rt-features-throttling/3.1.4 > > > > org.apache.cxf.cxf-rt-features-metrics/3.1.4 > > > > org.apache.cxf.cxf-rt-features-logging/3.1.4 > > > > org.apache.cxf.cxf-rt-features-clustering/3.1.4 > > > > org.apache.cxf.cxf-rt-databinding-xmlbeans/3.1.4 > > > > org.apache.cxf.cxf-rt-databinding-jaxb/3.1.4 > > > > org.apache.cxf.cxf-rt-databinding-aegis/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-xml/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-soap/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-object/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-corba/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-coloc/3.1.4 > > > > org.apache.cxf.cxf-core/3.1.4 > > > > org.springframework.osgi.io/1.2.1 > > > > org.springframework.osgi.extensions.annotations/1.2.1 > > > > org.springframework.osgi.extender/1.2.1 > > > > org.springframework.osgi.core/1.2.1 > > > > org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-jms/3.2.14.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-context-support/3.2.14.RELEASE_1 > > > > org.apache.karaf.bundle.springstate/4.0.4 > > > > Refreshing bundles: > > > > activemq-karaf/5.13.0 (Wired to > > org.apache.activemq.activemq-osgi/5.13.0 which is being refreshed) > > > > org.apache.activemq.activemq-camel/5.13.0 (Wired to > > org.apache.activemq.activemq-osgi/5.13.0 which is being refreshed) > > > > org.apache.activemq.activemq-osgi/5.13.0 (Should be wired to: > > org.apache.servicemix.bundles.spring-core/4.2.3.RELEASE_1 (through > > [org.apache.activemq.activemq-osgi/5.13.0] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.util)(version>=3.0.0)(!(version>=5.0.0)))"; > > resolution:=optional)) > > > > org.apache.aries.transaction.manager/1.1.1 (Wired to > > org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 which is being > > refreshed) > > > > org.apache.camel.camel-cxf/2.16.2 (Wired to > > org.apache.camel.camel-cxf-transport/2.16.2 which is being refreshed) > > > > org.apache.camel.camel-cxf-transport/2.16.2 (Should be wired to: > > org.apache.servicemix.bundles.spring-beans/4.2.3.RELEASE_1 (through > > [org.apache.camel.camel-cxf-transport/2.16.2] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.beans)(version>=3.2.0)(!(version>=5.0.0)))"; > > resolution:=optional)) > > > > org.apache.camel.camel-jms/2.16.2 (Wired to > > org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 which is being > > refreshed) > > > > org.apache.camel.camel-spring/2.16.2 (Wired to > > org.springframework.osgi.core/1.2.1 which is being refreshed) > > > > org.apache.cxf.cxf-core/3.1.4 (Should be wired to: > > org.apache.servicemix.bundles.spring-beans/4.2.3.RELEASE_1 (through > > [org.apache.cxf.cxf-core/3.1.4] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.beans)(version>=3.1.0)(!(version>=5.0.0)))"; > > resolution:=optional), > > org.apache.servicemix.bundles.spring-context/4.2.3.RELEASE_1 (through > > [org.apache.cxf.cxf-core/3.1.4] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.context)(version>=3.1.0)(!(version>=5.0.0)))"; > > resolution:=optional), > > org.apache.servicemix.bundles.spring-aop/4.2.3.RELEASE_1 (through > > [org.apache.cxf.cxf-core/3.1.4] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.aop)(version>=3.1.0)(!(version>=5.0.0)))"; > > resolution:=optional), > > org.apache.servicemix.bundles.spring-core/4.2.3.RELEASE_1 (through > > [org.apache.cxf.cxf-core/3.1.4] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.core)(version>=3.1.0)(!(version>=5.0.0)))"; > > resolution:=optional)) > > > > org.apache.cxf.cxf-rt-bindings-coloc/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-bindings-corba/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-bindings-object/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-bindings-soap/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-bindings-xml/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-databinding-aegis/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-databinding-jaxb/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-databinding-xmlbeans/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-features-clustering/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-features-logging/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-features-metrics/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-features-throttling/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-frontend-jaxrs/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-frontend-jaxws/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-frontend-js/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-frontend-simple/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-javascript/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-management/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-rs-client/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-rs-extension-providers/3.1.4 (Wired to > > org.apache.cxf.cxf-rt-databinding-aegis/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-rs-extension-search/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-rs-service-description/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-security/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-security-saml/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-transports-http/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-transports-http-jetty/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-transports-jms/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-transports-local/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-transports-udp/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-ws-addr/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-ws-mex/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-ws-policy/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-ws-rm/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-ws-security/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.cxf.cxf-rt-wsdl/3.1.4 (Wired to > > org.apache.cxf.cxf-core/3.1.4 which is being refreshed) > > > > org.apache.karaf.bundle.springstate/4.0.4 (Wired to > > org.springframework.osgi.core/1.2.1 which is being refreshed) > > > > org.apache.servicemix.activemq.camel/7.0.0.M1 (Wired to > > org.apache.activemq.activemq-camel/5.13.0 which is being refreshed) > > > > org.apache.servicemix.activemq.service/7.0.0.M1 (Wired to > > org.apache.activemq.activemq-osgi/5.13.0 which is being refreshed) > > > > org.apache.servicemix.bundles.spring-context-support/3.2.14. > RELEASE_1 > > (Wired to org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 which > is > > being refreshed) > > > > org.apache.servicemix.bundles.spring-jms/3.2.14.RELEASE_1 (Wired to > > org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 which is being > > refreshed) > > > > org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 (Should be > > wired to: org.apache.geronimo.specs.geronimo-jta_1.1_spec/1.1.1 (through > > [org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1] > > osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=javax.transaction)(version>=1.0.1)(!(version>=2.0.0)))"; > > resolution:=optional)) > > > > org.apache.xbean.spring/3.18.0 (Should be wired to: > > org.springframework.core/3.1.4.RELEASE (through > > [org.apache.xbean.spring/3.18.0] osgi.wiring.package; > > filter:="(&(osgi.wiring.package=org.springframework.core.io > )(version>=2.5.0)(!(version>=4.0.0)))"), > > org.springframework.beans/3.1.4.RELEASE (through > > [org.apache.xbean.spring/3.18.0] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.beans)(version>=2.5.0)(!(version>=4.0.0)))"), > > org.springframework.context/3.1.4.RELEASE (through > > [org.apache.xbean.spring/3.18.0] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.context)(version>=2.5.0)(!(version>=4.0.0)))")) > > > > org.springframework.osgi.core/1.2.1 (Should be wired to: > > org.springframework.aop/3.1.4.RELEASE (through > > [org.springframework.osgi.core/1.2.1] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.aop)(version>=2.5.6)(!(version>=4.0.0)))"), > > org.springframework.core/3.1.4.RELEASE (through > > [org.springframework.osgi.core/1.2.1] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.core)(version>=2.5.6)(!(version>=4.0.0)))"), > > org.springframework.beans/3.1.4.RELEASE (through > > [org.springframework.osgi.core/1.2.1] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.beans)(version>=2.5.6)(!(version>=4.0.0)))"), > > org.springframework.context/3.1.4.RELEASE (through > > [org.springframework.osgi.core/1.2.1] osgi.wiring.package; > > > filter:="(&(osgi.wiring.package=org.springframework.context)(version>=2.5.6)(!(version>=4.0.0)))")) > > > > org.springframework.osgi.extender/1.2.1 (Wired to > > org.springframework.osgi.core/1.2.1 which is being refreshed) > > > > org.springframework.osgi.extensions.annotations/1.2.1 (Wired to > > org.springframework.osgi.core/1.2.1 which is being refreshed) > > > > org.springframework.osgi.io/1.2.1 (Should be wired to: > > org.springframework.core/3.1.4.RELEASE (through [ > > org.springframework.osgi.io/1.2.1] osgi.wiring.package; > > filter:="(&(osgi.wiring.package=org.springframework.core.io > > )(version>=2.5.6)(!(version>=4.0.0)))")) > > > > Starting bundles: > > > > org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-context-support/3.2.14.RELEASE_1 > > > > org.springframework.asm/3.1.4.RELEASE > > > > org.springframework.core/3.1.4.RELEASE > > > > org.springframework.beans/3.1.4.RELEASE > > > > org.springframework.aop/3.1.4.RELEASE > > > > org.springframework.expression/3.1.4.RELEASE > > > > org.springframework.context/3.1.4.RELEASE > > > > org.springframework.osgi.io/1.2.1 > > > > org.springframework.osgi.core/1.2.1 > > > > org.springframework.osgi.extensions.annotations/1.2.1 > > > > org.springframework.osgi.extender/1.2.1 > > > > org.apache.servicemix.bundles.spring-jms/3.2.14.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-core/4.2.3.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-expression/4.2.3.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-beans/4.2.3.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-aop/4.2.3.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-context/4.2.3.RELEASE_1 > > > > org.apache.servicemix.bundles.spring-context-support/4.2.3.RELEASE_1 > > > > org.springframework.context.support/3.1.4.RELEASE > > > > org.apache.karaf.bundle.springstate/4.0.4 > > > > org.apache.cxf.cxf-rt-ws-policy/3.1.4 > > > > org.apache.cxf.cxf-rt-wsdl/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-http/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-jaxrs/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-extension-search/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-coloc/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-service-description/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-soap/3.1.4 > > > > org.apache.cxf.cxf-rt-databinding-jaxb/3.1.4 > > > > org.apache.cxf.cxf-rt-management/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-addr/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-rm/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-xml/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-simple/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-jaxws/3.1.4 > > > > org.apache.cxf.cxf-rt-security/3.1.4 > > > > org.apache.cxf.cxf-rt-security-saml/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-mex/3.1.4 > > > > org.apache.cxf.cxf-rt-ws-security/3.1.4 > > > > org.apache.cxf.cxf-rt-features-logging/3.1.4 > > > > org.apache.cxf.cxf-rt-features-metrics/3.1.4 > > > > org.apache.cxf.cxf-rt-databinding-aegis/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-extension-providers/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-jms/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-corba/3.1.4 > > > > org.apache.cxf.cxf-rt-databinding-xmlbeans/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-local/3.1.4 > > > > org.apache.cxf.cxf-rt-rs-client/3.1.4 > > > > org.apache.cxf.cxf-rt-frontend-js/3.1.4 > > > > org.apache.cxf.cxf-rt-features-clustering/3.1.4 > > > > org.apache.cxf.cxf-rt-features-throttling/3.1.4 > > > > org.apache.cxf.cxf-rt-javascript/3.1.4 > > > > org.apache.cxf.cxf-rt-bindings-object/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-udp/3.1.4 > > > > org.apache.cxf.cxf-core/3.1.4 > > > > org.apache.cxf.cxf-rt-transports-http-jetty/3.1.4 > > > > org.apache.aries.transaction.manager/1.1.1 > > > > org.apache.camel.camel-cxf-transport/2.16.2 > > > > org.apache.camel.camel-jms/2.16.2 > > > > org.apache.camel.camel-spring/2.16.2 > > > > org.apache.xbean.spring/3.18.0 > > > > org.apache.camel.camel-cxf/2.16.2 > > > > org.apache.activemq.activemq-camel/5.13.0 > > > > activemq-karaf/5.13.0 > > > > org.apache.activemq.activemq-osgi/5.13.0 > > > > org.apache.servicemix.activemq.service/7.0.0.M1 > > > > org.apache.servicemix.activemq.camel/7.0.0.M1 > > > > Done. > > > > > > > > Il giorno ven 4 mar 2016 alle ore 12:20 Jean-Baptiste Onofré < > > [email protected]> ha scritto: > > > >> 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 > >> > > > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
