It's a requested feature for the future, but for now you need to make
the change.

You might like to use the release:branch goal to make the change, and
branch, for you.

Cheers,
Brett

2008/8/20 mfs <[EMAIL PROTECTED]>:
>
> I am looking to do the same, so that on cutting the branch we dont have to go
> through all the child poms and change their versions.
>
> Anyone ?
>
>
>
> dl123 wrote:
>>
>> Now, I have 20 or so POM's that are all taking a top level POM as the
>> parent shown below:
>>
>>     <parent>
>>         <groupId>com.mycompay.apps</groupId>
>>         <artifactId>BaseApp</artifactId>
>>         <version>9.5-SNAPSHOT</version>
>>         <relativePath>../BaseApp</relativePath>
>>     </parent>
>>
>> Now the question is - if we later on change the version of the BaseApp, we
>> will have to modify the <parent> section in each of my 20 POM's with the
>> new version number. Is there a way so that I can modify the version number
>> in only one place?
>>
>> Again, we can do this in maven1 using <currentVersion> defined in parent
>> POM. But Maven2 removed this element. Please advise.
>>
>> Thanks.
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Inheriting-POM-tp4683779p19060997.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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

Reply via email to