Class MetadataMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.sling.scriptingbundle.plugin.maven.MetadataMojo
-
- 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
Themetadata
goal will generate two Maven project properties, namelyorg.apache.sling.scriptingbundle.maven.plugin.Require-Capability
andorg.apache.sling.scriptingbundle.maven.plugin.Provide-Capability
which can be used to generate the corresponding OSGi bundle headers for bundles providing scripts executable by aScriptEngine
.
-
-
Constructor Summary
Constructors Constructor Description MetadataMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-