You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wendy Smoak <ws...@gmail.com> on 2007/03/03 04:30:47 UTC

Re: Username and password for deploy plugin

On 2/28/07, Paul Gier <pg...@redhat.com> wrote:
> Is there a way to supply a username and password for a remote repository
> on the command line instead of in the settings.xml?  It would be helpful
> if the deploy plugin could prompt the user as needed for this
> information.  The password could be hidden from view this way, and
> developers would not have to worry about configuring settings.xml.
>
> Specifically, I would like to have this feature for the wagon-webdav
> plugin, but I think it could apply to all the deploy related plugins.

No idea if it takes userid/password on the command line, but there is
some work in the gpg plugin to prompt for a passphrase (and mask it).
Perhaps that could be borrowed.

(wagon-webdav isn't a plugin, is it?  I only know it as an artifact
that needs to be configured as a build extension or otherwise added to
Maven since it doesn't support dav by default.)

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Username and password for deploy plugin

Posted by Paul Gier <pg...@redhat.com>.
Thanks.  Yes that issue is similar to what I'm asking for.  I linked my
issue to that one, and voted for it.  I also found this issue which is
the same as what I was asking for:
http://jira.codehaus.org/browse/WAGON-52

On Sat, 2007-03-03 at 16:50 +0530, Gregory Kick wrote:
> I think that you might be talking about what was reported in
> http://jira.codehaus.org/browse/MNG-553 .  This issue was reported a
> long time ago and doesn't seem to be getting much attention anymore...
>  Maybe a few more votes for it?
> 
> On 3/3/07, Wendy Smoak <ws...@gmail.com> wrote:
> > On 2/28/07, Paul Gier <pg...@redhat.com> wrote:
> > > Is there a way to supply a username and password for a remote repository
> > > on the command line instead of in the settings.xml?  It would be helpful
> > > if the deploy plugin could prompt the user as needed for this
> > > information.  The password could be hidden from view this way, and
> > > developers would not have to worry about configuring settings.xml.
> > >
> > > Specifically, I would like to have this feature for the wagon-webdav
> > > plugin, but I think it could apply to all the deploy related plugins.
> >
> > No idea if it takes userid/password on the command line, but there is
> > some work in the gpg plugin to prompt for a passphrase (and mask it).
> > Perhaps that could be borrowed.
> >
> > (wagon-webdav isn't a plugin, is it?  I only know it as an artifact
> > that needs to be configured as a build extension or otherwise added to
> > Maven since it doesn't support dav by default.)
> >
> > --
> > Wendy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Username and password for deploy plugin

Posted by Gregory Kick <gk...@gmail.com>.
I think that you might be talking about what was reported in
http://jira.codehaus.org/browse/MNG-553 .  This issue was reported a
long time ago and doesn't seem to be getting much attention anymore...
 Maybe a few more votes for it?

On 3/3/07, Wendy Smoak <ws...@gmail.com> wrote:
> On 2/28/07, Paul Gier <pg...@redhat.com> wrote:
> > Is there a way to supply a username and password for a remote repository
> > on the command line instead of in the settings.xml?  It would be helpful
> > if the deploy plugin could prompt the user as needed for this
> > information.  The password could be hidden from view this way, and
> > developers would not have to worry about configuring settings.xml.
> >
> > Specifically, I would like to have this feature for the wagon-webdav
> > plugin, but I think it could apply to all the deploy related plugins.
>
> No idea if it takes userid/password on the command line, but there is
> some work in the gpg plugin to prompt for a passphrase (and mask it).
> Perhaps that could be borrowed.
>
> (wagon-webdav isn't a plugin, is it?  I only know it as an artifact
> that needs to be configured as a build extension or otherwise added to
> Maven since it doesn't support dav by default.)
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Gregory Kick
gk5885@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org