You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (Jira)" <ji...@apache.org> on 2020/07/22 08:56:00 UTC

[jira] [Created] (MNG-6967) Improve the command line output from maven-artifact

Dennis Lundberg created MNG-6967:
------------------------------------

             Summary: Improve the command line output from maven-artifact
                 Key: MNG-6967
                 URL: https://issues.apache.org/jira/browse/MNG-6967
             Project: Maven
          Issue Type: Improvement
          Components: Artifacts and Repositories
    Affects Versions: 3.6.3
            Reporter: Dennis Lundberg


As is documented here
https://maven.apache.org/pom.html#version-order-testing
you can use the maven-artifact JAR file to test version numbers and their relative order.

Unfortunately the output does not match what is used in
https://maven.apache.org/pom.html#version-order-specification
when describing the "Trimming Examples". It's matter of "==" versus "->". I prefer the one used in the documentation, so I'd like to change maven-artifact to use "->". It respresents a transformation (trimming in this case) - not a an equality test.

Another problem is that it does not show you the list of tokens that are the result of parsing the version numbers. This can be quite useful when trying to figure out why you are getting the results you are.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)