Ok. Thanks everybody. Now, I have two mor infos:

1) The guy responsible for release:prepare is not the same for
release:perform. That's why I use to add those temp files to SCM.

2) The problem I mentioned before happens in my Mac OS X, but not in
Ubuntu. A bug, maybe?


thanks.

On 8/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Why would you check in release.properties? AFAIK, it is a more common use 
> case to let your SCM ignore the release.properties. I guess your 
> release:prepare would run smooth.
>
> Hth,
>
> Nick Stolwijk
>
>
> -----Original Message-----
> From: Alexandre Gomes [mailto:[EMAIL PROTECTED]
> Sent: Tue 8/21/2007 1:53 PM
> To: [email protected]
> Subject: release:prepare must be runned twice?
>
> Hi everybody. Is that a must to run release:prepare twice to have a
> release prepared under CVS? Look the sequence below. With CVS, the
> problem in step 5 always happens but not in SVN. Well, I think
> release:prepare always changes the release.properties file. So, why
> isn't the plugin smart enough to know it and just commit by itself,
> without the error?
>
> 1) First, I commit everything: "cvs commit"
>
> 2) Then, I run "mvn release:clean"
>
> 3) Run "mvn release:prepare"
>
> 4) Inform release version,  release tag and next development version:
>
> (...)
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "SEAUP"? (br.com.seatecnologia:seaup) 2.0.18: 
> :
> What is SCM release tag or label for "SEAUP"?
> (br.com.seatecnologia:seaup) seaup-2_0_18: :
> What is the new development version for "SEAUP"?
> (br.com.seatecnologia:seaup) 2.0.19-SNAPSHOT: :
> [INFO] Transforming 'SEAUP'...
> (...)
>
> 5) Then, I get an error:
>
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The cvs tag command failed.
> Command output:
> cvs tag: release.properties is locally modified
> cvs [tag aborted]: correct the above errors first!
>
> 6) I re-commit everything "cvs commit"  (release.properties is commited)
>
> 7) I re-run "mvn release:prepare"
>
> 8) Now, the release is prepared.
>
>
>
> thanks,
> Alexandre
>
> ---------------------------------------------------------------------
> 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