Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-399

optionnal modules in multi modules archetype

    Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Creator, Plugin
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The goal is to have optional modules in the project generation.
      in archetype-metadata.xml

      <module id="basic-api" dir="basic-api" name="basic-api" optional="true>
      

      In batch mode module can be activated with -DarchetypeModules=id1,id2,etc...
      In non batch mode prompt will ask does this module need to be activated.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Olivier Lamy
          • Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated: