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.AbstractMojoThemetadatagoal will generate two Maven project properties, namelyorg.apache.sling.scriptingbundle.maven.plugin.Require-Capabilityandorg.apache.sling.scriptingbundle.maven.plugin.Provide-Capabilitywhich 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 voidexecute()
-