Yann,
Many thanks for you help on this problem.
You were right, the release-pom.xml had erroneously got into CVS.
I removed it and the release:prepare got further, but it still failed:
Provider message:
The cvs command failed.
Command output:
remove: invalid option -- m
Usage: cvs remove [-flR] [files...]
-f Delete the file before removing it.
-l Process this directory only (not recursive).
-R Process directories recursively.
(Specify the --help global option for a list of other help options)
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Diagnosis: Cannot remove c:\michaels_projects\transact\release-pom.xml
from development HEAD.
I am using cvsnt: Concurrent Versions System (CVSNT) 2.0.51d (client/server)
Any thoughts?
Regards,
Michael McCrann
-----Original Message-----
From: Yann Le Du [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 October 2005 7:56 PM
To: Maven Users List
Subject: RE: [m2] Plugin release:prepare gives error: release-pom.xml
should be removed and is still there (or is back again)
Hi Michael,
To answer your several questions :
* The real release-plugin doco is still in progress, see :
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix
* The release-plugin depends on maven-scm-* projects which in turn use the
external cvs. BTW, that's why you must have the path to cvs in your PATH.
* I've never seen your error below. What I know is m2 release:prepare creates
then commits a file named release-pom.xml. So, if this file already exists in
your baseline (because of your precedent tries), you could get such a message.
Try "cvs remove release-pom.xml".
HTH,
Yann
--- Michael McCrann <[EMAIL PROTECTED]> a écrit :
> Hi,
>
> I am still trying to get release:prepare to work. I have updated my
> CVS:
>
> Concurrent Versions System (CVSNT) 2.0.51d (client/server)
>
> When I run release:prepare, I get:
>
> Provider message:
> The cvs command failed.
> Command output:
> -f add: release-pom.xml should be removed and is still there (or is back
> again)
>
> Has anyone seen this before? Has anyone any ideas what it might be?
>
> Thanks
>
> Michael McCrann
>
>
>
> NOTICE
> This e-mail and any attachments are confidential and may contain copyright
> material of Macquarie Bank or third parties. If you are not the intended
> recipient of this email you should not read, print, re-transmit, store or act
> in reliance on this e-mail or any attachments, and should destroy all copies
> of them. Macquarie Bank does not guarantee the integrity of any emails or any
> attached files. The views or opinions expressed are the author's own and may
> not reflect the views or opinions of Macquarie Bank.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
---------------------------------------------------------------------
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]