maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1701421 - /maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java
Date Sat, 05 Sep 2015 20:10:42 GMT
Author: hboutemy
Date: Sat Sep  5 20:10:41 2015
New Revision: 1701421

URL: http://svn.apache.org/r1701421
Log:
[MPIR-332] don't warn when removing path added to git repo url

Modified:
    maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java

Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java?rev=1701421&r1=1701420&r2=1701421&view=diff
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java
(original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java
Sat Sep  5 20:10:41 2015
@@ -550,12 +550,11 @@ public class ScmReport
 
         private void gitClone( String url )
         {
+            // in the future, git scm url should support both repository + path: at the moment,
require a hack
+            // to remove path added to repository
             int index = url.indexOf( ".git/" );
             if ( index > 0 )
             {
-                log.warn( "Wrong effective scm url " + url + ": removing " + url.substring(
index + 4 )
-                    + " in report, but this should be configured in pom.xml." );
-
                 url = url.substring( 0, index + 4 );
             }
 



Mime
View raw message