Class FeaturesDiffMojo
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.FeaturesDiffMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="features-diff",
defaultPhase=PACKAGE,
requiresDependencyResolution=TEST,
threadSafe=true)
public final class FeaturesDiffMojo
extends AbstractIncludingFeatureMojo
Compares different versions of the same Feature Model.
-
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected org.apache.maven.artifact.factory.ArtifactFactoryprotected org.apache.maven.artifact.resolver.ArtifactResolverFields 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.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
-
comparisonVersion
-
resolver
@Component protected org.apache.maven.artifact.resolver.ArtifactResolver resolver -
factory
@Component protected org.apache.maven.artifact.factory.ArtifactFactory factory
-
-
Constructor Details
-
FeaturesDiffMojo
public FeaturesDiffMojo()
-
-
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
-