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

Nope. No success. I even deleted the whole local repository. Even though it did download now version alpha-3 of maven-scm-plugin, the bug is still there. When you are saying that it works for you, are you indeed running it in an empty folder? And are you doing CVS checkout? And is it on Windows (mine in Windows XP)?

#mvn -U scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-scm-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-scm-plugin/1.0-alpha-3/maven-scm-plugin-1.0-alpha-3.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-scm-plugin/1.0-alpha-3/maven-scm-plugin-1.0-alpha-3.jar
14K downloaded
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [scm:checkout]
[INFO] ---------------------------------------------------------------------------- [INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------------- [INFO] Cannot execute mojo: checkout. It requires a project, but the build is not using one. [INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Oct 20 11:36:30 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] ----------------------------------------------------------------------------

#


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