AFAIK maven2 when processing module pom before anything else first resolves
any parent reference, so parent version has to be specified explicitly. To
have parent version explicitly specified and to easily update it,
maybe 
this<http://mojo.codehaus.org/versions-maven-plugin/examples/update-parent.html>will
work for you.

Regards,
Stevo.

On Fri, Dec 4, 2009 at 2:14 AM, Sony Antony <[email protected]> wrote:

> We have more than 100 modules in our project.
> Each pom includes teh parent pom using the cordinates including teh version
> number.
>
> Is there any way to centralize the version number, maybe in a properties
> file/profile/something.
> So that if the version changes, this will be the only place where we need
> to
> change the version.
> ( Every pom would refer to this version number using some kind of
> indirection - like ${project.version} )
>
> We would liek to avoid having to put the version number in every pom.
>
> --sony
>

Reply via email to