Hi,

doing a features:info on spring-dm gives me the following:

karaf@root()> feature:info spring-dm
Feature spring-dm 1.2.1
Description:
  Spring DM support
Feature has no configuration
Feature has no configuration files
Feature depends on:
  spring [2.5.6,4)
Feature contains followed bundles:

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.2.2_1
start-level=30
  mvn:org.springframework.osgi/spring-osgi-io/1.2.1 start-level=30
  mvn:org.springframework.osgi/spring-osgi-core/1.2.1 start-level=30
  mvn:org.springframework.osgi/spring-osgi-extender/1.2.1 start-level=30
  mvn:org.springframework.osgi/spring-osgi-annotation/1.2.1 start-level=30

mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/3.0.0-SNAPSHOT
start-level=30

mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.springstate/3.0.0-SNAPSHOT
start-level=30
Feature has no conditionals.

Therefore it'll install the "latest" available spring feature.
So again doing a feature:info on spring:
karaf@root()> feature:info spring
Feature spring 3.2.1.RELEASE
Description:
  Spring 3.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.springframework/org.springframework.core/3.2.1.RELEASE
start-level=30
  mvn:org.springframework/org.springframework.expression/3.2.1.RELEASE
start-level=30
  mvn:org.springframework/org.springframework.beans/3.2.1.RELEASE
start-level=30
  mvn:org.springframework/org.springframework.aop/3.2.1.RELEASE
start-level=30
  mvn:org.springframework/org.springframework.context/3.2.1.RELEASE
start-level=30
  mvn:org.springframework/org.springframework.context.support/3.2.1.RELEASE
start-level=30

mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/3.0.0-SNAPSHOT
start-level=30
Feature has no conditionals.


Please note I did this on the latest Karaf (3.0.0-SNAPSHOT) version
available right now.

If you do the same investigation on your system you probably do get a
better picture of the dependencies.

regards, Achim


2013/5/10 Martin Lichtin <[email protected]>

> Hi
>
> I've seen this issue with NMR recently
> https://issues.apache.org/jira/browse/SMX4NMR-313 and also see it with
> Karaf.
> Does anyone understand why Karaf depends spring-osgi-* and therefore on
> oldish versions of spring artifacts?
> The dependency goes like
>
> apache-karaf [2.3.1]
>    spring-osgi-extender [1.2.1]
>       spring-osgi-core [1.2.1]
>          org.springframework.aop [2.5.6.SEC01]
>          org.springframework.beans [2.5.6.SEC01]
>          org.springframework.context [2.5.6.SEC01]
>          org.springframework.core [2.5.6.SEC01]
>    spring-osgi-core[1.2.1]
>       ...
>
>


-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to