Package com.adobe.aem.analyser.mojos
Class AbstractAemMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.adobe.aem.analyser.mojos.AbstractAemMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractAnalyseMojo,PackageAppMojo
public abstract class AbstractAemMojo extends org.apache.maven.plugin.AbstractMojoAbstract base class for all mojos
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.project.MavenProjectprojectThe maven projectprotected org.eclipse.aether.RepositorySystemSessionrepoSessionprotected org.eclipse.aether.RepositorySystemrepoSystemprotected booleanstrictValidationIf enabled, all analyser warnings will be turned into errors and fail the build.
-
Constructor Summary
Constructors Constructor Description AbstractAemMojo()
-
-
-
Field Detail
-
project
@Parameter(property="project", readonly=true, required=true) protected org.apache.maven.project.MavenProject projectThe maven project
-
repoSystem
@Component protected org.eclipse.aether.RepositorySystem repoSystem
-
repoSession
@Parameter(defaultValue="${repositorySystemSession}", readonly=true, required=true) protected org.eclipse.aether.RepositorySystemSession repoSession
-
strictValidation
@Parameter(defaultValue="false", property="aem.analyser.strict") protected boolean strictValidationIf enabled, all analyser warnings will be turned into errors and fail the build.- Since:
- 1.0.12
-
-