- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
, org.apache.maven.plugin.Mojo
@Mojo(name="metadata",
defaultPhase=PREPARE_PACKAGE)
public class MetadataMojo
extends org.apache.maven.plugin.AbstractMojo
The metadata
goal will generate two Maven project properties, namely
org.apache.sling.scriptingbundle.maven.plugin.Require-Capability
and
org.apache.sling.scriptingbundle.maven.plugin.Provide-Capability
which can be used to generate the
corresponding OSGi bundle headers for bundles providing scripts executable by a ScriptEngine
.