Class InfoMojo
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.InfoMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(requiresProject=false,
name="info",
threadSafe=true)
public class InfoMojo
extends AbstractIncludingFeatureMojo
Extract information from a feature This mojo does not require a project, it
can be run by just pointing it at a feature file. When run from within a
project, the normal feature selection mechanism can be used.
This mojo supports
- Extracting the exported packages per feature and writing them to a file
- Detecting duplicates across features and writing a report
- Since:
- 1.1.20
-
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 inherited from class org.apache.sling.feature.maven.mojos.AbstractFeatureMojo
features, jarStartOrder, mavenSession, project, projectHelper
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
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
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
InfoMojo
public InfoMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-