Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6967

Improve the command line output from maven-artifact

    XMLWordPrintableJSON

Details

    Description

      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 represents 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.

      Attachments

        Issue Links

          Activity

            People

              dennisl Dennis Lundberg
              dennisl Dennis Lundberg
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: