[maven] branch master updated: [MNG-6967] Improve the command line output from maven-artifact. - Clearly separate version from tokens in command line output.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[maven] branch master updated: [MNG-6967] Improve the command line output from maven-artifact. - Clearly separate version from tokens in command line output.

dennisl
This is an automated email from the ASF dual-hosted git repository.

dennisl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 9166805  [MNG-6967] Improve the command line output from maven-artifact. - Clearly separate version from tokens in command line output.
9166805 is described below

commit 9166805a068ff176c237e9f340234f5132d6b4dd
Author: Dennis Lundberg <[hidden email]>
AuthorDate: Mon Jan 11 15:23:24 2021 +0100

    [MNG-6967] Improve the command line output from maven-artifact.
    - Clearly separate version from tokens in command line output.
---
 .../java/org/apache/maven/artifact/versioning/ComparableVersion.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java b/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
index 9a436f0..6da2768 100644
--- a/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
+++ b/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
@@ -822,7 +822,7 @@ public class ComparableVersion
                     + ( ( compare == 0 ) ? "==" : ( ( compare < 0 ) ? "<" : ">" ) ) + ' ' + version );
             }
 
-            System.out.println( ( i++ ) + ". " + version + " -> " + c.getCanonical() + "   " + c.items.toListString() );
+            System.out.println( ( i++ ) + ". " + version + " -> " + c.getCanonical() + "; tokens: " + c.items.toListString() );
 
             prev = c;
         }