Class AttachFeatureArchivesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
org.apache.sling.feature.maven.mojos.AbstractIncludingFeatureMojo
org.apache.sling.feature.maven.mojos.AttachFeatureArchivesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="attach-featurearchives",
defaultPhase=PACKAGE,
requiresDependencyResolution=TEST,
threadSafe=true)
public class AttachFeatureArchivesMojo
extends AbstractIncludingFeatureMojo
Create a feature model archive and attach it. An archive is created for each
feature of this project
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sling.feature.maven.mojos.AbstractIncludingFeatureMojo
AbstractIncludingFeatureMojo.FeatureScannerNested classes/interfaces inherited from class org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
AbstractFeatureMojo.BaseArtifactProvider, AbstractFeatureMojo.BaseFeatureProvider -
Field Summary
Fields Modifier and Type Field Description static StringATTR_BUILT_BYstatic StringATTR_CREATED_BYstatic StringATTR_IMPLEMENTATION_BUILDstatic StringATTR_IMPLEMENTATION_TITLEstatic StringATTR_IMPLEMENTATION_VENDORstatic StringATTR_IMPLEMENTATION_VENDOR_IDstatic StringATTR_IMPLEMENTATION_VERSIONstatic StringATTR_SPECIFICATION_TITLEstatic StringATTR_SPECIFICATION_VENDORstatic StringATTR_SPECIFICATION_VERSIONFields inherited from class org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
features, jarStartOrder, mavenSession, project, projectHelperFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors Constructor Description AttachFeatureArchivesMojo() -
Method Summary
Modifier and Type Method Description voidexecute()Methods inherited from class org.apache.sling.feature.maven.mojos.AbstractIncludingFeatureMojo
getSelectedFeatures, selectAllFeatureFiles, selectAllFeatureFilesAndAggregatesMethods inherited from class org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
checkPreconditions, getTmpDirMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
ATTR_BUILT_BY
- See Also:
- Constant Field Values
-
ATTR_CREATED_BY
- See Also:
- Constant Field Values
-
ATTR_IMPLEMENTATION_VERSION
- See Also:
- Constant Field Values
-
ATTR_IMPLEMENTATION_VENDOR
- See Also:
- Constant Field Values
-
ATTR_IMPLEMENTATION_BUILD
- See Also:
- Constant Field Values
-
ATTR_IMPLEMENTATION_VENDOR_ID
- See Also:
- Constant Field Values
-
ATTR_IMPLEMENTATION_TITLE
- See Also:
- Constant Field Values
-
ATTR_SPECIFICATION_TITLE
- See Also:
- Constant Field Values
-
ATTR_SPECIFICATION_VENDOR
- See Also:
- Constant Field Values
-
ATTR_SPECIFICATION_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AttachFeatureArchivesMojo
public AttachFeatureArchivesMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-