You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2011/07/09 18:39:42 UTC
[jira] Closed: (ARCHETYPE-371) Add a command line argument to
filter/limit the archetypes returned by mvn archetype:generate
[ https://jira.codehaus.org/browse/ARCHETYPE-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed ARCHETYPE-371.
----------------------------------
Resolution: Fixed
documentation added.
I have take care of case where filter doesn't return any values.
Have Fun :-)
> 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