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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Plugin
    • Labels:
      None
    • Environment:

      Description

      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

      mvn archetype:generate -Dfilter=webapp

      would return only the archetypes having webapp in their artifactId.

      What do you think?

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              fbricon Fred Bricon
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: