maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: mvn deploy - Passing username and password as arguments
Date Mon, 11 Mar 2013 08:15:23 GMT
+1.
If you speak about mvn deploy, using settings.xml is the way to go.
Have a look here: http://maven.apache.org/guides/mini/guide-encryption.html

Cheers
Le 11 mars 2013 02:39, "Doug Douglass" <douglass.doug@gmail.com> a écrit :

> On Sun, Mar 10, 2013 at 6:24 PM, Martin Gainty <mgainty@hotmail.com>
> wrote:
> >
> >  > From: guido.martin.larrain@monsanto.com
> > > To: users@maven.apache.org
> > > 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message