Sure, writing it in the parent definition is the best way to go since you avoid to write it twice. This is the way I work at least.
Sorry if I made that unclear with my previous e-mail.

Guillaume
Le 13/12/2011 01:07, Barrie Treloar a écrit :
On Tue, Dec 13, 2011 at 9:24 AM, Guillaume Polet
<guillaume.po...@gmail.com>  wrote:
I think that what he was trying to achieve is to not repeat the same version
in all the pom's but this is totally impossible because of the way Maven
works.
Yes, but at least you only need to define it once for each module (in
the parent/version section).
Only the parent pom needs to define the versions in the
dependencyManagement section.

And as Benson points out, doing it this way release (or vesrions
plugin) will manage it for you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to