On Sun, Mar 10, 2013 at 6:24 PM, Martin Gainty <[email protected]> wrote:
>
>  > From: [email protected]
> > To: [email protected]
> > Subject: mvn deploy - Passing username and password as arguments
> > Date: Fri, 8 Mar 2013 16:05:38 +0000
> >
> > Hi There;
> >
> > I'm newbie on Maven and I have a few questions about some particular
> options of the MVN command.
> >
> > I wanna know if there is a way to send a userid and password as an
> argument when you want to deploy an artifact into a repo.
> >
> > I really appreciate if you can help me with that. Thanks in advance!
> >
> >
> > Guido Larrain
> >
>

We use settings.xml[1] for exactly this purpose.

Cheers,
Doug

[1] http://maven.apache.org/settings.html#Servers

Reply via email to