On 14/12/2011 3:17 PM, scabbage wrote:
I have a multi-module project with a parent pom and several sub-modules. In
one of the module, I have a dependency that has a transitive dependency of
spring (2.0.6). How do I go about having the rest of my project using Spring
3.0.6.RELEASE?
You are going to run Spring 3.0.6 when the application is running.
2.0.6 has to go. One Spring at a time.
Exclude the transitive dependency on Spring in the sub module's dependency definition.

Happens all the time and not just with Spring - a lot of Apache commons versions will get dragged in as transitive dependencies.

Look at your dependency graph or list

Ron

Thanks.


--
View this message in context: 
http://maven.40175.n5.nabble.com/Conflicting-Spring-versions-tp5075558p5075558.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to