### Feature-pack archive structure

Feature-packs are distributed as ZIP archives with the following root entries:

[options="nowrap"]
 feature-pack.zip
 |- configs/
 |- feature_groups/
 |- features/
 |- layers/
 |- packages/
 |- plugins/
 |- resources/
 `- feature-pack.xml

Where

* *configs* - optional directory containing predefined installation configurations;

* *feature_groups* - optional directory containing feature group descriptions;

* *features* - optional directory containing feature specs (units of configuration);

* *layers* - optional directory containing predefined configuration layers that can be used to create custom installation configurations;

* *packages* - optional directory containing packages (units of filesystem content);

* *resources* - optional directory containing various resources needed to properly assemble and configure the product;

* *plugins* - optional directory containing product-specific provisioning plug-ins (note, that alternatively plugin artifacts can also be referenced from `feature-pack.xml` using their repository coordinates);

* *feature-pack.xml* - metadata describing the feature-pack and the default product configuration.
