You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by "Sharma, Jaikumar" <ja...@barco.com> on 2006/06/06 12:17:53 UTC

M2 : How to handle login into SCM provider implementation ?

Emmanuel, 
How I can handle user login into the SCM provider implementation ? There is
no login goal available in SCM plugin ?
http://maven.apache.org/scm/plugins/index.html
<http://maven.apache.org/scm/plugins/index.html> 
Regards
BM__MailAutoSig 
 

Re: M2 : How to handle login into SCM provider implementation ?

Posted by Emmanuel Venisse <em...@venisse.net>.
A user can log with username/password mojo parameters.

mvn -Dusername=your_username -Dpassword=your_password scm:checkout

In maven-scm api, we have an Login interface that can be used by the provider like we do it in cvs 
provider. You can do the same in your provider if you need it, but the login won't be available as a 
scm mojo. You won't need it if mks allow to define username/password on all commands.

Emmanuel

Sharma, Jaikumar a écrit :
> Emmanuel,
> How I can handle user login into the SCM provider implementation ? There 
> is no login goal available in SCM plugin ?
> http://maven.apache.org/scm/plugins/index.html
> Regards
>  
>