[ http://jira.codehaus.org/browse/SCM-248?page=comments#action_79557 ] Andrey Utkin commented on SCM-248: ----------------------------------
I have slightly patched org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepository.java from beta-3 tag to solve the problem. Patch is quite simple: ======= $ diff org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepository.java org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepository.java.orig 55,59d54 < if ( user == null && AbstractCvsScmProvider.TRANSPORT_EXT.equals( transport ) ) < { < user = System.getProperty("user.name"); < } < ======= It seems to work just fine with Continuum 1.0.3. > Use "user.name" system property for ext method > ---------------------------------------------- > > Key: SCM-248 > URL: http://jira.codehaus.org/browse/SCM-248 > Project: Maven SCM > Issue Type: Improvement > Components: maven-scm-provider-cvs > Affects Versions: 1.0-beta-3 > Reporter: Andrey Utkin > > We don`t not use explicit username in ext cvs url because the same module > (and pom) may be used by different developers. Each developer could connect > to cvs server by ext method (via ssh) by own login name. So that all cvs > commits is personalized. > With maven1 there was no problem when cvs url looks like: > "scm:cvs:ext:SERVER:/var/cvs2:MODULE" - maven could connect to cvs using > local user name. > But with Continuum (which based on maven-scm modules) it is not works any > more because maven-scm-provider-cvs requires explicit user name in url for > ext method. (I think, the same is true for maven2 too). > So, is it possible to use System Property "user.name" for user name with ext > method when explicit one not specified? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira