You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-users@maven.apache.org by Douglas José <do...@gmail.com> on 2006/06/13 16:00:37 UTC

Subversion username and password

Hi,

I'm not able to login to my SVN repository. I configured the <scm> tag
properly, but Maven returns an 'authorization failed' error message. Where
do I put my username and password? There is a way to configure Maven to
prompt for credentials when trying to connect to svn repository? Can I
configure such credentials in a user-specific file?

Thanks,

-- 
Douglas José
ICQ (UIN) 8024395
MSN: douglasjose[a]hotmail,com (prefer ICQ)
Yahoo!: douglasjose[a]yahoo,com

- "Use free software. Help us make a free world."

Re: Re: Subversion username and password

Posted by Emmanuel Venisse <em...@venisse.net>.
no, we can't prompt for now.

Emmanuel

Douglas José a écrit :
> Hello all,
> 
> I solved my problem on connecting to Subversion using SCM plugin with 
> -Dusername and -Dpassword parameters passed to Maven. I'm wonder if 
> there is a way to have at least the password prompted, in a way that I 
> don't have to explicit write my password when calling Maven command line.
> 
> Best regards,
> 
> Douglas
> 
> On 6/13/06, *Douglas José* <douglasjose@gmail.com 
> <ma...@gmail.com>> wrote:
> 
>     Hello, Emmanuel,
> 
>     Yes, I'm using scm plugin. Your solution worked pretty fine.
> 
>     Thank you so much,
> 
>     Douglas
> 
> 
>     On 6/13/06, *Emmanuel Venisse* <emmanuel@venisse.net
>     <ma...@venisse.net>> wrote:
> 
>         Which plugin do you want to use? I think it's the scm plugin.
> 
>         You can use -Dusername=your_login -Dpassword=your_password
> 
>         or you can add an entry in your settings.xml like this:
> 
>         <server>
>            <id>svn_host:svn_port</id>
>            <username>your_login</username>
>            <password>your_password</password>
>         </server>
> 
>         Emmanuel
> 
>         Douglas José a écrit :
>         >  Hi,
>         >
>         >  I'm not able to login to my SVN repository. I configured the
>         <scm> tag
>         >  properly, but Maven returns an 'authorization failed' error
>         message.
>         >  Where do I put my username and password? There is a way to
>         configure
>         >  Maven to prompt for credentials when trying to connect to svn
>         >  repository? Can I configure such credentials in a
>         user-specific file?
>         >
>         >  Thanks,
>         >
>         >  --
>         >  Douglas José
>         >  ICQ (UIN) 8024395
>         >  MSN: douglasjose[a]hotmail,com (prefer ICQ)
>         >  Yahoo!: douglasjose[a]yahoo,com
>         >
>         >  - "Use free software. Help us make a free world."
> 
> 
> 
> 
>     -- 
>     Douglas José
>     ICQ (UIN) 8024395
>     MSN: douglasjose[a]hotmail,com (prefer ICQ)
>     Yahoo!: douglasjose[a]yahoo,com
> 
>     - "Use free software. Help us make a free world." 
> 
> 
> 
> 
> -- 
> Douglas José
> ICQ (UIN) 8024395
> MSN: douglasjose[a]hotmail,com (prefer ICQ)
> Yahoo!: douglasjose[a]yahoo,com
> 
> - "Use free software. Help us make a free world."


Re: Subversion username and password

Posted by Douglas José <do...@gmail.com>.
Hello all,

I solved my problem on connecting to Subversion using SCM plugin with
-Dusername and -Dpassword parameters passed to Maven. I'm wonder if there is
a way to have at least the password prompted, in a way that I don't have to
explicit write my password when calling Maven command line.

Best regards,

Douglas

On 6/13/06, Douglas José <do...@gmail.com> wrote:
>
> Hello, Emmanuel,
>
> Yes, I'm using scm plugin. Your solution worked pretty fine.
>
> Thank you so much,
>
> Douglas
>
>
> On 6/13/06, Emmanuel Venisse <em...@venisse.net> wrote:
> >
> > Which plugin do you want to use? I think it's the scm plugin.
> >
> > You can use -Dusername=your_login -Dpassword=your_password
> >
> > or you can add an entry in your settings.xml like this:
> >
> > <server>
> >    <id>svn_host:svn_port</id>
> >    <username>your_login</username>
> >    <password>your_password</password>
> > </server>
> >
> > Emmanuel
> >
> > Douglas José a écrit :
> > > Hi,
> > >
> > > I'm not able to login to my SVN repository. I configured the <scm> tag
> >
> > > properly, but Maven returns an 'authorization failed' error message.
> > > Where do I put my username and password? There is a way to configure
> > > Maven to prompt for credentials when trying to connect to svn
> > > repository? Can I configure such credentials in a user-specific file?
> > >
> > > Thanks,
> > >
> > > --
> > > Douglas José
> > > ICQ (UIN) 8024395
> > > MSN: douglasjose[a]hotmail,com (prefer ICQ)
> > > Yahoo!: douglasjose[a]yahoo,com
> > >
> > > - "Use free software. Help us make a free world."
> >
> >
>
>
> --
> Douglas José
> ICQ (UIN) 8024395
> MSN: douglasjose[a]hotmail,com (prefer ICQ)
> Yahoo!: douglasjose[a]yahoo,com
>
> - "Use free software. Help us make a free world."
>



-- 
Douglas José
ICQ (UIN) 8024395
MSN: douglasjose[a]hotmail,com (prefer ICQ)
Yahoo!: douglasjose[a]yahoo,com

- "Use free software. Help us make a free world."

Re: Subversion username and password

Posted by Douglas José <do...@gmail.com>.
Hello, Emmanuel,

Yes, I'm using scm plugin. Your solution worked pretty fine.

Thank you so much,

Douglas

On 6/13/06, Emmanuel Venisse <em...@venisse.net> wrote:
>
> Which plugin do you want to use? I think it's the scm plugin.
>
> You can use -Dusername=your_login -Dpassword=your_password
>
> or you can add an entry in your settings.xml like this:
>
> <server>
>    <id>svn_host:svn_port</id>
>    <username>your_login</username>
>    <password>your_password</password>
> </server>
>
> Emmanuel
>
> Douglas José a écrit :
> > Hi,
> >
> > I'm not able to login to my SVN repository. I configured the <scm> tag
> > properly, but Maven returns an 'authorization failed' error message.
> > Where do I put my username and password? There is a way to configure
> > Maven to prompt for credentials when trying to connect to svn
> > repository? Can I configure such credentials in a user-specific file?
> >
> > Thanks,
> >
> > --
> > Douglas José
> > ICQ (UIN) 8024395
> > MSN: douglasjose[a]hotmail,com (prefer ICQ)
> > Yahoo!: douglasjose[a]yahoo,com
> >
> > - "Use free software. Help us make a free world."
>
>


-- 
Douglas José
ICQ (UIN) 8024395
MSN: douglasjose[a]hotmail,com (prefer ICQ)
Yahoo!: douglasjose[a]yahoo,com

- "Use free software. Help us make a free world."

Re: Subversion username and password

Posted by Emmanuel Venisse <em...@venisse.net>.
Which plugin do you want to use? I think it's the scm plugin.

You can use -Dusername=your_login -Dpassword=your_password

or you can add an entry in your settings.xml like this:

<server>
   <id>svn_host:svn_port</id>
   <username>your_login</username>
   <password>your_password</password>
</server>

Emmanuel

Douglas José a écrit :
> Hi,
> 
> I'm not able to login to my SVN repository. I configured the <scm> tag 
> properly, but Maven returns an 'authorization failed' error message. 
> Where do I put my username and password? There is a way to configure 
> Maven to prompt for credentials when trying to connect to svn 
> repository? Can I configure such credentials in a user-specific file?
> 
> Thanks,
> 
> -- 
> Douglas José
> ICQ (UIN) 8024395
> MSN: douglasjose[a]hotmail,com (prefer ICQ)
> Yahoo!: douglasjose[a]yahoo,com
> 
> - "Use free software. Help us make a free world."