You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Cassidy <mi...@vegas.com> on 2005/09/28 02:49:12 UTC

M2 scm plugin

Trying to get the scm plugin to work with my project using goal
scm:update,
And I get the following error.  I know that the repository location is
valid, but the plugin can't seem to find it.  Just below is the
configuration excerpt (The stuff in brackets I replaced to protect
sensitive data).

<configuration>
	
<connectionUrl>scm:cvs:pserver:[username]@[servername]:/misc/docs-dev/RE
POS:/v2/framework/common</connectionUrl>
	<branch>HEAD</branch>
</configuration>

.....

[INFO] Executing: cvs -f -q update -d -rHEAD
[INFO] Working directory: C:\dev\v2\framework\common
[DEBUG] Working directory: C:\dev\v2\framework\common
[DEBUG] Command line: cvs -f -q update -d -rHEAD
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] /misc/docs-dev/REPOS
: no such repository

[INFO]
------------------------------------------------------------------------
----
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
----
[INFO] Reason: Command failed.
[INFO]
------------------------------------------------------------------------
----
[DEBUG] Trace
org.apache.maven.plugin.MojoExecutionException: Command failed.
        at
org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.
java:175)
        at
org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:69)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:357)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:479)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:460)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:442)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:131)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: 1 second
[INFO] Finished at: Tue Sep 27 17:44:35 PDT 2005
[INFO] Final Memory: 2M/4M


Michael D. Cassidy
Software Architect
Vegas.com
michael.cassidy@vegas.com


Re: M2 scm plugin

Posted by Brett Porter <br...@gmail.com>.
> [ERROR] /misc/docs-dev/REPOS
> : no such repository

This indicates the response from the cvs command. Try running the same
update command manually - once you sort out how to get that to work
the scm plugin will work.

- Brett

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