Using Custom Widgets in Blueprints
In order to use the example Hello World custom
widget in a blueprint, add the following dependency to your blueprint
project's pom.xml
file:
<dependency> <groupId>custom.widget</groupId> <artifactId>widget-hello-world</artifactId> <version>$version</version> <type>war</type> <classifier>blueprint</classifier> </dependency>
The highlighted blueprint
classifier ensures that
only the required configuration components of the widget are included
in the project.