You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by er...@wachovia.com on 2005/09/02 18:13:07 UTC
[m2] I'm having a problem using the SCM plugin.
I am trying to create a pom.xml file for a project that will download the
latest source from cvs.
<scm>
<connection>scm:cvs:pserver:<host>]:<CVS root>:<CVS module>
</connection>
</scm>
Here is the command that I use to checkout the source:
********************************************************************************************************************************************
C:\tmp\projects\project1>m2 scm:checkout
[INFO] Searching repository for plugin with prefix: 'scm'.
[WARNING]
***** Using defaults for missing POM
org.apache.maven.plugins:maven-scm-plugin:pom:1.0-alpha-2-SNAPSHOT *****
[INFO] Cannot find mojo descriptor for: 'scm:checkout' - Treating
as non-aggregator.
[INFO]
----------------------------------------------------------------------------
[INFO] Building project1
[INFO] task-segment: [scm:checkout]
[INFO]
----------------------------------------------------------------------------
[INFO] Searching repository for plugin with prefix: 'scm'.
[WARNING]
***** Using defaults for missing POM
org.apache.maven.plugins:maven-scm-plugin:pom:1.0-alpha-2-SNAPSHOT *****
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Main Error:
Mojo could not be found - check that the goal name is correct
org.apache.maven.plugins:maven-scm-plugin:1.0-alpha-2-SNAPSHOT:maven-plugin
from the specified remote repositories:
http://repo1.maven.org/maven2/plugins
Root error:
Unable to download the artifact from any repository
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Sep 02 12:03:35 EDT 2005
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------------------------
********************************************************************************************************************************************
I looked here to try to find the plugin, but I don't see it. Any ideas?
http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/maven-scm-plugin/
Eric Starr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org