Have a look at this http://mojo.codehaus.org/versions-maven-plugin/
HTH
SaM

On 19 juil. 2010, at 07:10, "Haszlakiewicz, Eric" <ehas...@transunion.com> 
wrote:

>> -----Original Message-----
>> From: Shan Syed [mailto:shan...@gmail.com]
>> 
>> http://maven.apache.org/plugins/maven-release-plugin/examples/update-
>> versions.html
>> 
>> On Tue, Jul 6, 2010 at 5:06 PM, Frank Maritato
>> <fmarit...@attinteractive.com> wrote:
>>> I have a multimodule maven project and I want to change the version
>> number.
>>> Unfortunately, it looks like I have to manually edit each pom.xml (or
>> write
>>> some sort of perl script) to accomplish this. Is there a better,
> cooler,
>>> faster way to do this? Maybe with a plugin of some sort?
> 
> You can also set the version as a property in a top-level profiles.xml
> file, and refer to it in all of your pom files.  IMO it's much cleaner
> to have only one place to change, and the relationship between things be
> explicitly visible in the files, rather than having it hidden behind a
> command that you need to run.
> 
> eric
> 
> ---------------------------------------------------------------------
> 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