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]