maven-commits mailing list archives

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

URL: http://svn.apache.org/r1488604
Log:
more compact display: link version to maven-metadata.xml

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

Modified: maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSourceReleaseMojo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSourceReleaseMojo.java?rev=1488604&r1=1488603&r2=1488604&view=diff
==============================================================================
--- maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSourceReleaseMojo.java
(original)
+++ maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSourceReleaseMojo.java
Sat Jun  1 21:11:41 2013
@@ -155,6 +155,8 @@ public class DistCheckSourceReleaseMojo 
 
         for ( DistCheckSourceRelease csr : results )
         {
+            ConfigurationLineInfo cli = csr.getConfigurationLine();
+
             sink.tableRow();
             sink.tableCell();
             sink.rawText( csr.getConfigurationLine().getGroupId() );
@@ -163,23 +165,20 @@ public class DistCheckSourceReleaseMojo 
             sink.rawText( csr.getConfigurationLine().getArtifactId() );
             sink.tableCell_();
             sink.tableCell();
+            sink.link( cli.getMetadataFileURL( repoBaseUrl ) );
             sink.rawText( csr.getVersion() );
+            sink.link_();
             sink.tableCell_();
 
             sink.tableCell();
-            ConfigurationLineInfo cli = csr.getConfigurationLine();
             sink.link( cli.getBaseURL( repoBaseUrl, "" ) );
             sink.text( "artifact" );
             sink.link_();
-            sink.text( " / " );
-            sink.link( cli.getMetadataFileURL( repoBaseUrl ) );
-            sink.text( "maven-metadata.xml" );
-            sink.link_();
-            sink.text( ", " );
+            sink.text( "/" );
             sink.link( cli.getVersionnedFolderURL( repoBaseUrl, csr.getVersion() ) );
             sink.text( csr.getVersion() );
             sink.link_();
-            sink.text( " / source-release" );
+            sink.text( "/source-release" );
             if ( csr.central.isEmpty() )
             {
                 iconSuccess( sink );
@@ -200,7 +199,7 @@ public class DistCheckSourceReleaseMojo 
             sink.link( cli.getDist() );
             sink.text( cli.getDist().substring( DIST_AREA.length() ) );
             sink.link_();
-            sink.text( " source-release" );
+            sink.text( "source-release" );
             if ( csr.dist.isEmpty() )
             {
                 iconSuccess( sink );



Mime
View raw message