maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1067935 - /maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java
Date Mon, 07 Feb 2011 12:27:11 GMT
Author: struberg
Date: Mon Feb  7 12:27:11 2011
New Revision: 1067935

URL: http://svn.apache.org/viewvc?rev=1067935&view=rev
Log:
[SCM-582] allow user authentication for http and https also

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java?rev=1067935&r1=1067934&r2=1067935&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java
Mon Feb  7 12:27:11 2011
@@ -220,6 +220,8 @@ public class GitScmProviderRepository
         if ( PROTOCOL_SSH.equals( repoUrl.getProtocol() )   || 
              PROTOCOL_RSYNC.equals( repoUrl.getProtocol() ) ||  
              PROTOCOL_GIT.equals( repoUrl.getProtocol() )   ||
+             PROTOCOL_HTTP.equals( repoUrl.getProtocol() )   ||
+             PROTOCOL_HTTPS.equals( repoUrl.getProtocol() )   ||
              PROTOCOL_NONE.equals(  repoUrl.getProtocol() )   )
         {
             urlSupportsUserInformation = true;



Mime
View raw message