[ 
https://jira.codehaus.org/browse/MNG-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MNG-5730:
-------------------------------

    Description: 
At the moment, when someone thinks there is a problem, the only way to 
investigate is to write new unit tests in ComparableVersionTest

a little CLI tool to display the parsed version (in its canonical form) and 
comparing arguments would be useful

{noformat}$ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
Display parameters as parsed by Maven (in canonical form) and comparison result:
1. 3.2.4-alpha-1 == 3.2.4.alpha.1
   3.2.4-alpha-1 < 3.2.4-SNAPSHOT
2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
   3.2.4-SNAPSHOT < 3.2.4.0
3. 3.2.4.0 == 3.2.4{noformat}

  was:
At the moment, when someone thinks there is a problem, the only way to 
investigate is to write new unit tests in ComparableVersionTest

a little CLI tool to display the parsed version (in its canonical form) and 
comparing arguments would be useful


> Provide a tool to test Maven version parsing and comparison
> -----------------------------------------------------------
>
>                 Key: MNG-5730
>                 URL: https://jira.codehaus.org/browse/MNG-5730
>             Project: Maven
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>    Affects Versions: 3.2.3
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>             Fix For: 3.2.4
>
>
> At the moment, when someone thinks there is a problem, the only way to 
> investigate is to write new unit tests in ComparableVersionTest
> a little CLI tool to display the parsed version (in its canonical form) and 
> comparing arguments would be useful
> {noformat}$ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 
> 3.2.4.0
> Display parameters as parsed by Maven (in canonical form) and comparison 
> result:
> 1. 3.2.4-alpha-1 == 3.2.4.alpha.1
>    3.2.4-alpha-1 < 3.2.4-SNAPSHOT
> 2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
>    3.2.4-SNAPSHOT < 3.2.4.0
> 3. 3.2.4.0 == 3.2.4{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to