On 25/10/2010 2:45 PM, Babak Farhang wrote:
Hi everyone,
Say I have a number of modules that share a dependency on Spring. I'd
like to centralize the version number of the Spring library that I'm
using, that is, the version these modules depend on. I.e. I don't want
the version number of the Spring dependency to be duplicated across
many pom files. What's the "maven way" for doing this?
-Babak
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
We made a single POM that has Spring Hibernate, MySQL and Tomcat as
dependencies with the "right" versions and gave that POM a version of
its own.
Now any project (we have 40+) that needs these libraries have a
dependency on this one POM (as "provided" since we deploy it as part of
the Tomcat lib)
This cuts the clutter by a lot and makes the project JAR much smaller.
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org