Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-325

order versions when selecting archetype

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-5
    • Fix Version/s: 2.0
    • Component/s: Plugin
    • Labels:
      None
    • Number of attachments :
      0

      Description

      $ 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: : 

      there is a duplicate, and alpha is before release.
      should be:

      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: : 

        Activity

        Hide
        Herve Boutemy added a comment -

        done in r996275

        Show
        Herve Boutemy added a comment - done in r996275

          People

          • Assignee:
            Herve Boutemy
            Reporter:
            Herve Boutemy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: