Class 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.AbstractMojo
    Abstract base class for all mojos
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.maven.project.MavenProject project
      The maven project
      protected org.eclipse.aether.RepositorySystemSession repoSession  
      protected org.eclipse.aether.RepositorySystem repoSystem  
      protected boolean strictValidation
      If enabled, all analyser warnings will be turned into errors and fail the build.
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractAemMojo()  
    • Method Summary

      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.maven.plugin.Mojo

        execute
    • Field Detail

      • project

        @Parameter(property="project",
                   readonly=true,
                   required=true)
        protected org.apache.maven.project.MavenProject project
        The 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 strictValidation
        If enabled, all analyser warnings will be turned into errors and fail the build.
        Since:
        1.0.12
    • Constructor Detail

      • AbstractAemMojo

        public AbstractAemMojo()