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.FeatureScanner
-
Nested classes/interfaces inherited from class org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
AbstractFeatureMojo.BaseArtifactProvider, AbstractFeatureMojo.BaseFeatureProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected String
comparisonVersion
protected org.apache.maven.artifact.factory.ArtifactFactory
factory
protected org.apache.maven.artifact.resolver.ArtifactResolver
resolver
-
Fields inherited from class org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
features, mavenSession, project, projectHelper
-
-
Constructor Summary
Constructors Constructor Description FeaturesDiffMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.apache.sling.feature.maven.mojos.AbstractIncludingFeatureMojo
getSelectedFeatures, selectAllFeatureFiles, selectAllFeatureFilesAndAggregates
-
Methods inherited from class org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
checkPreconditions, getTmpDir
-
-
-
-
Field Detail
-
comparisonVersion
@Parameter(defaultValue="(,${project.version})") protected String comparisonVersion
-
resolver
@Component protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
-
factory
@Component protected org.apache.maven.artifact.factory.ArtifactFactory factory
-
-