Fabien Coppens wrote:

> More info on this problem.
> I tried setting the dependency to Spring explicitly in the POM of
> BUSINESSLAYER-CORE
> and now it is seen correctly with scope compile in the dependency tree
> of BUSINESSLAYER-CORE.
> BUT : if I look at the dependency tree of the project that has
> BUSINESSLAYER-CORE in its dependencies,
> then again I see : \- org.springframework:spring:jar:2.5.3:provided
> (scope not updated to compile) .
> Seems that Maven changes the scope of that jar in all projects that have
> a dependency to the project
> in which the Spring jar is explicitly declared as a dependency.
> Any ideas, folks ?

Use

mvn help:effective-pom

to see the complete POM. You might have a dependecnyManagement section that
defines this.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to