Use a property and/or dependency management in a shared parent POM.
Spring has multiple modules, so it is frequently useful to store the
common version for all modules in a single property and then specify
each relevant module in a dependencyManagement element.

Justin

On 10/25/10 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: [email protected]
> For additional commands, e-mail: [email protected]
> 


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

Reply via email to