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

Reply via email to