We also use release plugin. During a release process the plugin asks for
versions of your modules and sets them for you.
Siarhei
On Wed, Jul 2, 2008 at 6:16 PM, Kallin Nagelberg <[EMAIL PROTECTED]>
wrote:
> So what do you use for the version label in the root pom and the 'parent'
> tags of all the modules?
> For inter-module dependencies ${project.version} seems to work..
>
> On Wed, Jul 2, 2008 at 2:52 AM, Martin Höller <[EMAIL PROTECTED]> wrote:
>
> > On Monday 30 June 2008 Kallin Nagelberg wrote:
> > > Can anyone tell me what is the best/simplest way to maintain a version
> > > number across all the poms in a multi-module project?
> > >
> > > They are all to be deployed with the same version every time.
> >
> > Use the maven-release-plugin to release your project. The plugin will
> take
> > care to replace alle version occurences in any pom.xml file.
> >
> > hth,
> > - martin
> >
>