order versions when selecting archetype
---------------------------------------
Key: ARCHETYPE-325
URL: http://jira.codehaus.org/browse/ARCHETYPE-325
Project: Maven Archetype
Issue Type: Improvement
Components: Plugin
Affects Versions: 2.0-alpha-5
Reporter: Herve Boutemy
{noformat}$ mvn archetype:generate
...
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart
(org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
...
79: remote -> maven-archetype-quickstart (An archetype which contains a sample
Maven project.)
...
Choose a number: 79:
Choose version:
1: 1.0
2: 1.0-alpha-1
3: 1.0-alpha-2
4: 1.0-alpha-3
5: 1.0-alpha-4
6: 1.1
7: 1.1
Choose a number: : {noformat}
there is a duplicate, and alpha is before release.
should be:
{noformat}Choose version:
1: 1.0-alpha-1
2: 1.0-alpha-2
3: 1.0-alpha-3
4: 1.0-alpha-4
5: 1.0
6: 1.1
Choose a number: : {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira