[ https://jira.codehaus.org/browse/ARCHETYPE-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272566#comment-272566 ]
Olivier Lamy commented on ARCHETYPE-371: ---------------------------------------- nice idea to not having to know this magic -Dfiler= :-). BTW the first goal was more to remove the *HUGE* list of archetype. We can certainly do both :-). Agree on the format ? : groupId:artifactId ? Samples : * org.apache: -> display all archetypes which contains org.apache in groupId * :jee or jee -> display all archetypes which contains jee in artifactId * org.apache:jee -> display all archetypes which contains org.apache in groupId *AND* jee in artifactId makes sense ? > Add a command line argument to filter/limit the archetypes returned by mvn > archetype:generate > --------------------------------------------------------------------------------------------- > > Key: ARCHETYPE-371 > URL: https://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 > Assignee: Olivier Lamy > Fix For: 2.1 > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira