maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1488563 - /maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSiteMojo.java
Date Sat, 01 Jun 2013 19:30:21 GMT
Author: hboutemy
Date: Sat Jun  1 19:30:20 2013
New Revision: 1488563

URL: http://svn.apache.org/r1488563
Log:
added a link to the site

Modified:
    maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSiteMojo.java

Modified: maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSiteMojo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSiteMojo.java?rev=1488563&r1=1488562&r2=1488563&view=diff
==============================================================================
--- maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSiteMojo.java
(original)
+++ maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSiteMojo.java
Sat Jun  1 19:30:20 2013
@@ -236,23 +236,24 @@ public class DistCheckSiteMojo extends A
         {
             sink.tableRow();
             sink.tableCell();
-            sink.rawText( csr.getConfigurationLine().getGroupId() + ":" );
-            sink.rawText( csr.getConfigurationLine().getArtifactId() );
+            sink.rawText( csr.getConfigurationLine().getGroupId() + ":" + csr.getConfigurationLine().getArtifactId()
);
             sink.tableCell_();
+
             sink.tableCell();
             sink.rawText( csr.getVersion() );
             sink.tableCell_();
+
             sink.tableCell();
             if ( csr.getStatusCode() != 200 )
             {
                 iconError( sink );
-                sink.rawText( "[" + csr.getStatusCode() + "]" + csr.getUrl() );
-            }
-            else
-            {
-                sink.rawText( csr.getUrl() );
+                sink.rawText( "[" + csr.getStatusCode() + "] " );
             }
+            sink.link( csr.getUrl() );
+            sink.rawText( csr.getUrl() );
+            sink.link_();
             sink.tableCell_();
+
             sink.tableHeaderCell();
             csr.getOverall( sink );
             sink.tableHeaderCell_();



Mime
View raw message