You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tate Austin <Ta...@usi.net> on 2005/02/08 22:21:45 UTC

Scm question

 
I am attempting to make maven perform some cvs operations and am finding
it rather difficult.  The following line:
 maven scm:cvs-checkout-project
-Dmaven.scm.url=scm:cvs:local:/local/cvs/repository:www

This is a pretty elementary thing, I have a locally run cvs repository,
this should be an easy one for maven to pickup on?
It claims I need to be specifying a module, but I am specifying a
module; www. The output is below:

scm:cvs-checkout-project:
    [echo] Checking out 
    [delete] Deleting directory /local/users/taustin/testbed
    [mkdir] Created dir: /local/users/taustin/testbed
    [cvs] cvs [checkout aborted]: must specify at least one module or
directory

BUILD FAILED
File......
/local/users/taustin/.maven/cache/maven-scm-plugin-1.4.1/plugin.jelly
Element... ant:cvs
Line...... 245
Column.... 9
cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'-q'
'checkout'
'-P'

The ' characters around the executable and arguments are
not part of the command.


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


Re: Scm question

Posted by Brett Porter <br...@gmail.com>.
sorry the website documentation is for the 1.5-beta-3 plugin.

I've just reverted it to the 1.4.1 plugin included with Maven 1.0.2.

However, I'd recommend testing the 1.5 beta:

maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin
-Dversion=1.5-beta-3

To checkout with that:
maven scm:checkout -Dmaven.scm.url=scm:cvs:local:/local/cvs/repository:www

HTH,
Brett


On Tue, 8 Feb 2005 16:21:45 -0500, Tate Austin <Ta...@usi.net> wrote:
> 
> I am attempting to make maven perform some cvs operations and am finding
> it rather difficult.  The following line:
>  maven scm:cvs-checkout-project
> -Dmaven.scm.url=scm:cvs:local:/local/cvs/repository:www
> 
> This is a pretty elementary thing, I have a locally run cvs repository,
> this should be an easy one for maven to pickup on?
> It claims I need to be specifying a module, but I am specifying a
> module; www. The output is below:
> 
> scm:cvs-checkout-project:
>     [echo] Checking out
>     [delete] Deleting directory /local/users/taustin/testbed
>     [mkdir] Created dir: /local/users/taustin/testbed
>     [cvs] cvs [checkout aborted]: must specify at least one module or
> directory
> 
> BUILD FAILED
> File......
> /local/users/taustin/.maven/cache/maven-scm-plugin-1.4.1/plugin.jelly
> Element... ant:cvs
> Line...... 245
> Column.... 9
> cvs exited with error code 1
> Command line was [Executing 'cvs' with arguments:
> '-q'
> 'checkout'
> '-P'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> For additional commands, e-mail: users-help@maven.apache.org 
> 
>

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