Add a command line argument to filter/limit the archetypes returned by mvn 
archetype:generate
---------------------------------------------------------------------------------------------

                 Key: ARCHETYPE-371
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-371
             Project: Maven Archetype
          Issue Type: New Feature
          Components: Plugin
    Affects Versions: 2.0
         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /usr/local/maven
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "2.6.35.12-90.fc14.x86_64", arch: "amd64", family: 
"unix"
            Reporter: Fred Bricon


Currently, running mvn archetype:generate returns 390 archetypes, on my machine.
By default, th window buffer of my terminal isn't set big enough so I can see 
the first archetypes in the list.

So, I think it would be really useful to have a CLI arg allowing us to filter 
the archetypes containing a string.
Ex: running {code}mvn archetype:generate -Dfilter=webapp{code} would return 
only the archetypes having webapp in their artifactId.

What do you think?


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

        

Reply via email to