Class RepositoryMojo
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.RepositoryMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="repository",
defaultPhase=PACKAGE,
requiresDependencyResolution=TEST,
threadSafe=true)
public class RepositoryMojo
extends AbstractRepositoryMojo
Create a Maven repository structure from the referenced artifacts in the features.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractIncludingFeatureMojo
AbstractIncludingFeatureMojo.FeatureScannerNested classes/interfaces inherited from class AbstractFeatureMojo
AbstractFeatureMojo.BaseArtifactProvider, AbstractFeatureMojo.BaseFeatureProvider -
Field Summary
Fields inherited from class AbstractFeatureMojo
defaultMetadata, features, jarStartOrder, mavenSession, project, projectHelperFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractRepositoryMojo
doExecute, getLocalFeature, processFeatureMethods inherited from class AbstractIncludingFeatureMojo
getSelectedFeatures, selectAllFeatureFiles, selectAllFeatureFilesAndAggregatesMethods inherited from class AbstractFeatureMojo
checkPreconditions, getTmpDirMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
RepositoryMojo
public RepositoryMojo()
-
-
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
-