Apache Sling OSGi Feature Maven Plugin
Maven Plugin for building OSGi features and applications.
See Goals for a list of supported goals.
Usage
As this Maven plugin comes with Maven extensions (for defining custom bindings for default lifecycle and a custom artifact handler for type/packaging slingosgifeature as well as a AbstractMavenLifecycleParticipant) it needs to be loaded accordingly
<plugin>
<groupId>org.apache.sling</groupId>
<artifactId>slingfeature-maven-plugin</artifactId>
<version>1.9.2</version>
<extensions>true</extensions>
</plugin>
Additional Documentation can be found in the README page.
Plugin bindings for slingosgifeature packaging
<phases>
<install>org.apache.sling:slingfeature-maven-plugin:attach-features,
org.apache.maven.plugins:maven-install-plugin:install</install>
<deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
</phases>

