You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brett Porter <br...@gmail.com> on 2005/10/14 05:44:16 UTC

Re: [m2] Plugin release:prepare gives error: release-pom.xml should be removed and is still there (or is back again)

-m isn't a valid option on my CVS system either. I don't know how it
got there...

Please file a bug and we'll look into it. Thanks!

- Brett

On 10/14/05, Michael McCrann <Mi...@macquarie.com> wrote:
> 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:leduyann@yahoo.com]
> 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 <Mi...@macquarie.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
>
>
>
>
> ___________________________________________________________________________
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org