Looks like you are fighting maven (a loosing battle)

Only tags should have a fixed version

Sent from my iPhone

On 19 Feb 2012, at 00:29, "Dipl.-Ing. Torsten Liermann" <l...@liermann-it.de> 
wrote:

> Hi, (sorry, I can't speak english :( )
> 
> I would like to create a branch with a release version in all pom's
> 
> The Snapshot version of the trunk is 3.0.2-SNAPSHOT and the release version 
> should be 3.0-b01.
> 
> Calling maven with 
> 
> mvn org.apache.maven.plugins:maven-release-plugn:2.2.2:branch 
> -DbranchName=3.0-b01 -DreleaseVersion=3.0-b01 -DupdateBranchVersions=true  
> -DupdateVersionsToSnapshot=false -DautoVersionSubmodules=true 
> -DupdateWorkingCopyVersions=false
> 
> results in pom's with version of 3.0-b01-SNAPSHOT in branch 3.0-b01.
> But I need the fix verssion 3.0-b01.
> 
> Also the updated of the scm info is wrong:
> 
> <scm>
>  <connection>scm:svn:svn://lierdata/lehel/branches/3.0-b01/trunk</connection> 
>  
> <developerConnection>scm:svn:svn://lierdata/lehel/branches/3.0-b01/trunk</developerConnection>
>  
>  <url>scm:svn:svn://lierdata/lehel/branches/3.0-b01/trunk</url> 
>  </scm>
> 
> Thanks for a hint
> Torsten
> 
> ---------------------------------------------------------------------
> 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