Expansion Options
The expansionSettings.xml also allows you to add options to configure the expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact..
Filtering Expanders, Features and ExpansionSteps
These options can be a powerful tool to disable specific ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. or to only run a specific set of ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact.. However, they should be used with care, since they leave the burden of creating a correct set of expanded artifactsArtifactA build or deployment result, such as a Docker container image or Java archive, produced by a software project. with the developer.
ExpansionSettingsExclude ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. using a glob pattern
<options>
<excludeExpanders>net.democritus.expander.struts*</excludeExpanders>
</options>
<options>
<excludeExpanders>*BeanExpander</excludeExpanders>
</options>
ExpansionSettingsInclude ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. using a glob pattern
<options>
<includeExpanders>net.democritus.expander*</includeExpanders>
</options>
<options>
<includeExpanders>*DetailsExpander</includeExpanders>
</options>
Skip Phases
Harvest
It is possible to change the harvest behavior of the expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. with the following options. These are mainly useful when developing shared Components.
ExpansionSettingsHarvest every artifactArtifactA build or deployment result, such as a Docker container image or Java archive, produced by a software project., ignoring exclusions like base-components.
<options>
<harvest.force/>
</options>
ArtifactWriter
ExpansionSettingsOverwrite the ArtifactWriter used by the ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. with another class. The class should implement net.democritus.expander.ArtifactWriter.
<options>
<artifactWriter>org.example.MyArtifactWriter</artifactWriter>
</options>