Class AbstractRepositoryMojo
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
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
CollectArtifactsMojo,RepositoryMojo
-
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
Modifier and TypeMethodDescriptionprotected voiddoExecute(File artifactDir, Map<String, org.apache.sling.feature.Feature> features, List<org.apache.maven.model.Dependency> embed) abstract voidexecute()protected org.apache.sling.feature.FeaturegetLocalFeature(org.apache.sling.feature.ArtifactId id) protected voidprocessFeature(File artifactDir, org.apache.sling.feature.Feature f) 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
-
Constructor Details
-
AbstractRepositoryMojo
public AbstractRepositoryMojo()
-
-
Method Details
-
execute
public abstract void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
doExecute
protected void doExecute(File artifactDir, Map<String, org.apache.sling.feature.Feature> features, List<org.apache.maven.model.Dependency> embed) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getLocalFeature
protected org.apache.sling.feature.Feature getLocalFeature(org.apache.sling.feature.ArtifactId id) -
processFeature
protected void processFeature(File artifactDir, org.apache.sling.feature.Feature f) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-