Class CollectArtifactsMojo
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.AbstractRepositoryMojo
org.apache.sling.feature.maven.mojos.CollectArtifactsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="collect-artifacts",
requiresProject=false,
threadSafe=true)
public final class CollectArtifactsMojo
extends AbstractRepositoryMojo
-
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 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 -
Method Summary
Methods inherited from class org.apache.sling.feature.maven.mojos.AbstractRepositoryMojo
doExecute, getLocalFeature, processFeatureMethods 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
-
Constructor Details
-
CollectArtifactsMojo
public CollectArtifactsMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Specified by:
executein classAbstractRepositoryMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getFeatures
protected Map<String,org.apache.sling.feature.Feature> getFeatures() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-