try m2 -U scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
for update scm plugin

Emmanuel

Miks Rozenbergs a écrit :
Emmanuel Venisse wrote:

it works for me. Check if you have the correct plugin version.

Emmanuel

Hmm, seems like I do not have the right version -- it's maven-scm-plugin-1.0-alpha-2.jar. But that's what I'm getting from Central Repository. Should I be downloading, compiling and installing that plug-in manually? If yes, then what's the point of Central Repository?


Miks Rozenbergs a écrit :

Hi!

I'm trying to do initial checkout of project from CVS, but receiving error. According to http://jira.codehaus.org/browse/MNG-885 this is fixed in Beta 3...

c:\temp> m2 scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [scm:checkout]
[INFO] ---------------------------------------------------------------------------- [INFO] ----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ---------------------------------------------------------------------------- [INFO] Reason: Cannot execute mojo: checkout. It requires a project, but the build is not using one. [INFO] ----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 19 16:33:23 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] ----------------------------------------------------------------------------

Regards,
Miks Rozenbergs


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






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to