Expansion resources can also include components which can be added to your application if the expansion resource is present. This is a useful way to make reusable components which can be shared and versioned.
To add a component directory to your expansion resource, add a
models.xml file to your resources:
Path should define the location of the component directories within the jar.
The above xml would correspond to a project with a structure: