maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1488596 - in /maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools: ConfigurationLineInfo.java DistCheckSourceReleaseMojo.java
Date Sat, 01 Jun 2013 20:50:01 GMT
Author: hboutemy
Date: Sat Jun  1 20:50:00 2013
New Revision: 1488596

URL: http://svn.apache.org/r1488596
Log:
added link to central for each interesting artifact entry

Modified:
    maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java
    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/ConfigurationLineInfo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java?rev=1488596&r1=1488595&r2=1488596&view=diff
==============================================================================
--- maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java
(original)
+++ maven/sandbox/trunk/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java
Sat Jun  1 20:50:00 2013
@@ -62,7 +62,7 @@ class ConfigurationLineInfo
         return dist;
     }
 
-    private String getBaseURL( String repoBaseUrl, String folder )
+    String getBaseURL( String repoBaseUrl, String folder )
     {
         return repoBaseUrl + groupId.replaceAll( "\\.", URLSEP ) + URLSEP + artifactId +
URLSEP + folder;
     }

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=1488596&r1=1488595&r2=1488596&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 20:50:00 2013
@@ -165,15 +165,23 @@ public class DistCheckSourceReleaseMojo 
             sink.tableCell_();
 
             sink.tableCell();
-            if ( csr.central.isEmpty() )
-            {
-                iconSuccess( sink );
-            }
+            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.link( cli.getVersionnedFolderURL( repoBaseUrl, csr.getVersion() ) );
+            sink.text( csr.getVersion() );
+            sink.link_();
             for ( String missing : csr.central )
             {
+                sink.lineBreak();
                 iconError( sink );
                 sink.rawText( missing );
-                sink.lineBreak();
             }
             sink.tableCell_();
 



Mime
View raw message