The release:prepare probably does already set the tag. The 'prepare' is 
somewhat confusing here. Its presumably chosen to make the distinction with 
publishing the release to the remote repo. 
Maybe you can specify it as a property to the plugin from the commandline.
something like: -DscmReleaseTag=RELEASE1-1
But you should check the plugin docs or sourcecode for the way to do this. 
sorry, can't help you here. 

________________________________

Van: Elid OR [mailto:[EMAIL PROTECTED]
Verzonden: vr 24-11-2006 12:42
Aan: Maven Users List
Onderwerp: Re: [m2] Maven Release Question



Hi Grosskop,

Yes I use cvs, but my question is before the tag for cvs. I have not reached
the cvs tag step.

My problem occurs during "mvn release:prepare" when the plugin try to
increment the version in the pom of the project.

It's true that cvs don't accept "." and required that the tag start with a
letter, I don't know how it is handle in the plugin ?





On Friday 24 November 2006 12:15, Grosskop, Kay wrote:
> Elid,
>
> I suppose the question is related to the release-plugin
> Do you use cvs?
> The release plugin suggests default release tags that are invalid voor cvs
> (tags cannot contain dots for cvs). If run interactively, you can simply
> specify a valid cvs tag, but, you have to figure out how to pass that for
> 'silent mode' to the plugin .
>
> Kay
>
> ________________________________
>
> Van: Elid OR [mailto:[EMAIL PROTECTED]
> Verzonden: vr 24-11-2006 12:10
> Aan: Maven Users List
> Onderwerp: [m2] Maven Release Question
>
>
>
> Hi all,
>
> I would like to increment automatically  my project (without intervention)
> version when releasing with so I used the --batch-mode but my version is
> something like that "r1.X.X-SNAPSHOT" and I got the following error :
>
> "Error parsing version, cannot determine next version: Unable to parse the
> version string: "r2.2006.2.27.16.2-SNAPSHOT"
>
> It seems that the release plugin can't handle version that contains letter.
>
> Any solutions ?
>
> Thanks !
>
> Elid
>
> ps: I can't rename the version ! so it's not a solution :)

---------------------------------------------------------------------
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