You can certainly do something like:

<j:set var="maven.scm.checkout.dir" value="."/>
<attainGoal name="scm:checkout-project"/>


http://maven.apache.org/reference/plugins/scm/properties.html


Arnaud

> -----Message d'origine-----
> De : Feilpe Vieira Silva [mailto:[EMAIL PROTECTED]
> Envoyé : dimanche 7 novembre 2004 16:11
> À : Maven Users List; Brett Porter
> Objet : Re: How to use CVS with maven?
> 
> I´m aopdting the following procedure:
> 
> 1) maven -Dpassword=XXXXXXX changelog:create-cvspass
> 2) maven scm:cvs-checkout-project
> 
> The problem now is the target folder. The default maven target is the
> "target" folder bellow the current line command directory. How can I
> change this target folder to produce a goal with the following
> behavirou:
> 
> <goal name="newMember" description="Used by new members to assemble
> the project through one step">
>       <echo>Downloading the Schoolbus project</echo>
>       <attainGoal name="scm:checkout-project"/>
>       <attainGoal name="multiproject:install"/>
>       <attainGoal name="multiproject:site"/>
> </goal>
> 
> i.e., After this goal I want all project downloaded through CVS and
> correctly instaled and site generated ..
> 
> In my first trials, the project was correctly downloaded, but inside
> the folder target\checkouts\schoolbus
> 
> how can I change it ?
> 
> 
> 
> 
> 
> On Sun, 7 Nov 2004 14:30:16 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > The cvs is running ok now, but I have more questions:
> > >
> > > 1) how maven choose the connection to use? <connection> or
> > > <developerConnection> ?
> >
> > Dev connection if it exists, unless you override that.
> >
> > >
> > > 2) how do I set the password each time I will use the connection?
> > > using -Dpassword  ??
> > >
> >
> > You need to "cvs login" first in pserver. That hasn't been built into
> > the plugin.
> >
> > - Brett
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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