We're working on a cohesive solution in Maven 2.1 that balances out
the principle of least surprise, reproducibility and ease of use.

However, you can use the release plugin with 2.0 to aid in updating
the version after each release.

- Brett

On 12/23/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
> OK, but I still have the version declared in the following tags in each
> module:
>
>    <parent>
>       <groupId>com.wamu</groupId>
>       <artifactId>projects</artifactId>
>       <version>1.0</version>
>    </parent>
>
> I want to not have to update each module when I increment the version.
>
> This worked fine:
> <project>
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>com.wamu</groupId>
>    <!--<version>1.0</version>-->
>    <artifactId>projects</artifactId>
>
>
> --------------------------------------------------------------------------------
> Thanks
> Mick Knutson
>
> http://www.BASELogic.com
> http://www.MickKnutson.com
>
> MSN Messenger: [EMAIL PROTECTED]
> --------------------------------------------------------------------------------
>
> ----- Original Message -----
> From: "Rinku" <[EMAIL PROTECTED]>
> To: "Maven Users List" <users@maven.apache.org>; "Mick Knutson"
> <[EMAIL PROTECTED]>
> Sent: Thursday, December 22, 2005 11:20 AM
> Subject: Re: [m2] how do I make the modules use the same version as the
> parent pom?
>
>
> >
> > You can drop the <version> tag for your module specific pom but you will
> > need to have a <parent> setup for your modules but note that you will need
> > to specify a <version> there, something like this :
> >
> > <parent>
> >    <artifactId>maven-plugin-parent</artifactId>
> >    <groupId>org.apache.maven.plugins</groupId>
> >    <version>2.0.1</version>
> >  </parent>
> >
> > You module should then pick up the version off it if its there's none
> > provided.
> >
> > HTH,
> >
> > Rahul
> >
> >
> > ----- Original Message -----
> > From: "Mick Knutson" <[EMAIL PROTECTED]>
> > To: "Maven Users List" <users@maven.apache.org>
> > Sent: Friday, December 23, 2005 8:11 AM
> > Subject: [m2] how do I make the modules use the same version as the parent
> > pom?
> >
> >
> > how do I make the modules use the same version as the parent pom?
> >
> >
> > --------------------------------------------------------------------------------
> > Thanks
> > Mick Knutson
> >
> > http://www.BASELogic.com
> > http://www.MickKnutson.com
> >
> > MSN Messenger: [EMAIL PROTECTED]
> > --------------------------------------------------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to