You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2021/01/11 14:23:30 UTC
[maven] branch master updated: [MNG-6967] Improve the command line
output from maven-artifact. - Clearly separate version from tokens in
command line output.
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 <de...@apache.org>
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;
}