Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-325

order versions when selecting archetype

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-alpha-5
    • 2.0
    • Plugin
    • None

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

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            hboutemy Herve Boutemy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: