Hi,
I have upgraded my m2 to the RC. Now, the release:prepare plugin is working.
But the release:perform isn't:
Any ideas?
> m2 release:perform
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building xxxxx
[INFO] task-segment: [release:perform] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [release:perform]
[INFO] Checking out the project to perform the release ...
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Mon Oct 17 13:42:51 EST 2005
[INFO] Final Memory: 1M/3M
[INFO]
----------------------------------------------------------------------------
-----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]