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

Archetype version range support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.1
    • None
    • Archetypes
    • None

    Description

      Hi,

      Currently I'm only able to fetch a versioned archetype with the following situations:

      1. Not specifying an archetypeVersion at all.
      2. Specifying a fixed version (i.e. 1.7.3).
      3. Specifying the LATEST version.

      I don't know if there are more choices about it, but IMHO I think it could be great to define a version range for archetypes (as it's currently done with dependencies). An example could be:

      mvn -B archetype:generate -DarchetypeGroupId=com.acme.archetype -DarchetypeArtifactId=plugin-archetype-rest -DartifactId=AppRest -DgroupId=com.acme.app -Dversion=1.0 '-DarchetypeVersion=(,1.8.0)'
      

       Thank you!

      Attachments

        Activity

          People

            Unassigned Unassigned
            atec Alejandro Torras
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: