I have the projects in CVS. I want to start building
them with Maven. But for the first time, I would need
to check the projects out individually, and not use
the  multiproject capabilities to get the sources from
cvs. Updates can use the multiproject capabilities. Is
that  'use case' correct.

Thanks
Sid
--- Brett Porter <[EMAIL PROTECTED]> wrote:

> checkout is meant to be used when you don't have the
> project already.
> 
> - Brett
> 
> On 9/25/05, Sidart Kurias <[EMAIL PROTECTED]>
> wrote:
> > If I understand this right the scm plugin will not
> > read the connection tag in the pom.xml and
> requires a
> > system  variable to be defined to point it to the
> > source repository. How do I use this feature in a
> > multiproject environment, where each child project
> is
> > a different module in the same source repository.
> >
> > Will it read other information such as the 'tag'
> > element from the pom.xml.
> >
> > Thanks
> > Sid
> >
> > --- Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> >
> > > yes, it's a pb I just see, you need to add your
> > > password to the scm
> > > connection
> > >
> > > m2 scm:checkout
> > >
> >
>
-DconnectionUrl=scm:cvs:pserver:<my-userid>:<my-password>@<my.cvs.server.com>:<my-cvs-repository>:<my-module>
> > >
> > > Emmanuel
> > >
> > >
> > > [EMAIL PROTECTED] wrote:
> > > > Thanks for the tip, Emmanual
> > > >
> > > > I run the scm:checkout with the system
> property
> > > defined, as follows:
> > > >
> > > > cvs login
> > > > <my password>
> > > >
> > > > m2 scm:checkout
> > >
> >
>
-DconnectionUrl=scm:cvs:pserver:<my-userid>@<my.cvs.server.com>:<my-cvs-repository>:<my-module>
> > > >
> > > > and receive the following response:
> > > >
> > > > [INFO] Searching repository for plugin with
> > > prefix: 'scm'.
> > > > [INFO]
> > >
> >
>
----------------------------------------------------------------------------
> > > > [INFO] Building Maven Quick Start Archetype
> > > > [INFO]    task-segment: [scm:checkout]
> > > > [INFO]
> > >
> >
>
----------------------------------------------------------------------------
> > > > [INFO] [scm:checkout]
> > > > [INFO]
> > >
> >
>
----------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > >
> >
>
----------------------------------------------------------------------------
> > > > [INFO] Diagnosis: Cannot run checkout command
> :
> > > > [INFO]
> > >
> >
>
----------------------------------------------------------------------------
> > > > [ERROR] Cause:
> > > >
> org.apache.maven.plugin.MojoExecutionException:
> > > Cannot run checkout command :
> > > >     at
> > >
> >
>
org.apache.maven.scm.plugin.CheckoutMojo.execute(CheckoutMojo.java:77)
> > > >     at
> > >
> >
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:357)
> > > >     at
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:479)
> > > >     at
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:460)
> > > >     at
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:442)
> > > >     at
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > >     at
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131)
> > > >     at
> > >
> >
>
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186)
> > > >     at
> > >
> >
>
org.apache.maven.cli.MavenCli.main(MavenCli.java:316)
> > > >     at
> > >
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > >     at
> > >
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >     at
> > >
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >     at
> > > java.lang.reflect.Method.invoke(Method.java:585)
> > > >     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)
> > > > Caused by: org.apache.maven.scm.ScmException:
> > > Exception while executing SCM command.
> > > >     at
> > >
> >
>
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
> > > >     at
> > >
> >
>
org.apache.maven.scm.provider.cvslib.CvsScmProvider.login(CvsScmProvider.java:497)
> > > >     at
> > >
> >
>
org.apache.maven.scm.provider.AbstractScmProvider.login(AbstractScmProvider.java:201)
> > > >     at
> > >
> >
>
org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:160)
> > > >     at
> > >
> >
>
org.apache.maven.scm.plugin.CheckoutMojo.execute(CheckoutMojo.java:65)
> > > >     ... 16 more
> > > > Caused by: org.apache.maven.scm.ScmException:
> > > password is required
> > > >     at
> > >
> >
>
org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(CvsPass.java:94)
> > > >     at
> > >
> >
>
org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:57)
> > > >     at
> > >
> >
>
org.apache.maven.scm.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:44)
> > > >     at
> > >
> >
>
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:55)
> > > >     ... 20 more
> > > > [INFO]
> > >
> >
>
----------------------------------------------------------------------------
> > > > [INFO] Total time: 1 second
> > > > [INFO] Finished at: Thu Sep 15 07:06:46 PDT
> 2005
> > > > [INFO] Final Memory: 2M/4M
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to