- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="repackage-karaf-features",
defaultPhase=PREPARE_PACKAGE)
public class KarafFeatureConverterMojo
extends org.apache.maven.plugin.AbstractMojo
Turn a Karaf features.xml into a collection of jar files and a simpler metadata file.
This class exists to allow a transition away from Karaf without leaping immediately
into the complexity of bndtools. Its job is to read a features.xml, download each
of the bundles, and write out an XML file that lists them, organized by start level.
Note that this is completely ignorant of the configuration admin 'features' of features;
it is up to someone else to set up any required configuration.