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.