[ 
https://issues.apache.org/jira/browse/SCM-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963143#comment-17963143
 ] 

ASF GitHub Bot commented on SCM-248:
------------------------------------

jira-importer commented on issue #1025:
URL: https://github.com/apache/maven-scm/issues/1025#issuecomment-2964639635

   **[Andrey 
Utkin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ciand7)** 
commented
   
   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: https://issues.apache.org/jira/browse/SCM-248
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Improvement
>          Components: maven-scm-provider-cvs
>    Affects Versions: 1.0-beta-3
>            Reporter: Andrey Utkin
>            Priority: Major
>             Fix For: 1.0-beta-4
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to