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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • Plugin
    • None

    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

            olamy Olivier Lamy
            fbricon Fred Bricon
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: