You could use:
mvn -Dmyname=abc -Dmypass=xyz

And then in the pom:
...:pserver:${myname}:[EMAIL PROTECTED]

But really, this is not how most people use Maven. Instead you should
look at storing these values in settings.xml.

Wayne

On 3/19/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
> Hi Wayne,
>
> I am trying to do for CVS not with the remote repository.
> I am using
>  <scm>
>    <connection>scm:cvs:pserver:xxx:[EMAIL 
> PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest</connection>
>    <developerConnection>scm:cvs:pserver:xxx:[EMAIL 
> PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest</developerConnection>
>    <url>scm:cvs:pserver:xxx:[EMAIL 
> PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest</url>
>  </scm>
>
> To connect to cvs.But i want to pass username and password to connect
> cvs in command line .Please provide me the information .
>
> Thanks,
> Sowmya.R
>
> On 3/19/08, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Take a look at the SCM plugin:
> >  http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
> >
> >  Wayne
> >
> >
> >  On 3/18/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
> >  > Hi,
> >  >
> >  >     I am working on the maven tool for my project ,where I have to
> >  > checkout from CVS and I want to ask for CVS user id and password from
> >  > the user while checkingout the project.This process I want to do
> >  > dynamically to checkout multiple projects.
> >  >
> >  > I am new  user of maven ,Pleases help me out to resove this issue.
> >  >
> >  >
> >  >
> >  > --
> >  > Regads,
> >  >
> >  > Sowmya.R
> >  >
> >
> > > ---------------------------------------------------------------------
> >  > 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]
> >
> >
>
>
> --
> Regads,
>
> Sowmya.R
>
> ---------------------------------------------------------------------
> 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