You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alejandro Torras (JIRA)" <ji...@apache.org> on 2019/04/29 15:04:00 UTC

[jira] [Created] (ARCHETYPE-564) Archetype version range support

Alejandro Torras created ARCHETYPE-564:
------------------------------------------

             Summary: Archetype version range support
                 Key: ARCHETYPE-564
                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-564
             Project: Maven Archetype
          Issue Type: New Feature
          Components: Archetypes
    Affects Versions: 3.0.1
            Reporter: Alejandro Torras


Hi,

Currently I'm only able to fetch a versioned archetype with the following situations:
 # Not specifying an archetypeVersion at all.
 # Specifying a fixed version (i.e. 1.7.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:
{noformat}
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)'
{noformat}
 Thank you!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)