It's used in
http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/provider/AbstractScmProvider.java
and public LoginScmResult login( ScmRepository repository, ScmFileSet fileSet, CommandParameters
parameters ) is overridden in
http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/AbstractCvsScmProvider.java
Emmanuel
Sharma, Jaikumar a écrit :
How Login interface is being used in cvs provider ? Could you please
give me a hint ?
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 3:56 PM
To: [email protected]
Subject: Re: M2 : How to handle login into SCM provider implementation ?
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.
<<< How Login interface is being used in cvs provider ? Could you please
give me a hint ? >>>
or I have to wrap the login functionality into scm:validate itself ?
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
>
>
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically
authorized to receive it. If you are not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
message and/or attachments is strictly prohibited. The company accepts
no liability for any damage caused by any virus transmitted by this
email. Furthermore, the company does not warrant a proper and complete
transmission of this information, nor does it accept liability for any
delays. If you have received this message in error, please contact the
sender and delete the message. Thank you.