In the camel-parent pom:
<spring-version>3.0.7.RELEASE</spring-version>

And in camel-test-spring pom:
<spring-version>3.1.1.RELEASE</spring-version>

Den 18 april 2012 23:12 skrev Magnus Palmér <magnus.palmer.w...@gmail.com>:

> I ran into some trouble today when I changed my JUnit test to use
> @RunWith(CamelSpringJUnit4ClassRunner.class) from camel-spring-test
>
> It turned out that a transient dependency had resolved to:
> org.springframework:spring-beans:jar:3.0.7.RELEASE:compile
>
> This one was correct however:
> org.springframework:spring-test:jar:3.1.1.RELEASE:test
>
> Looking at the dependency:tree for camel-spring and camel-test-spring
>
> +- org.apache.camel:camel-spring:jar:2.10-SNAPSHOT:compile
> |  +- org.springframework:spring-context:jar:3.0.7.RELEASE:compile
> |  |  +- org.springframework:spring-beans:jar:3.0.7.RELEASE:compile
> |  |  +- org.springframework:spring-core:jar:3.0.7.RELEASE:compile
> |  |  |  \- commons-logging:commons-logging:jar:1.1.1:compile
> |  |  +- org.springframework:spring-expression:jar:3.0.7.RELEASE:compile
> |  |  \- org.springframework:spring-asm:jar:3.0.7.RELEASE:compile
> |  +- org.springframework:spring-aop:jar:3.0.7.RELEASE:compile
> |  |  \- aopalliance:aopalliance:jar:1.0:compile
> |  \- org.springframework:spring-tx:jar:3.0.7.RELEASE:compile
>
>  +- org.apache.camel:camel-test-spring:jar:2.10-SNAPSHOT:test
>  |  \- org.springframework:spring-test:jar:3.1.1.RELEASE:test
>
> Is this how it is supposed to be?
> I can get around it by adding the transient spring-dependencies for
> camel-spring to be declared explicitly.
> Or am I missing something?
>
>
>
>

Reply via email to