Class AemAnalyseMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    AnalyseMojo, ProjectAnalyseMojo

    public class AemAnalyseMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager
      The artifact manager to resolve artifacts
      protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
      The artifact resolver
      protected org.apache.maven.execution.MavenSession mavenSession
      The maven session
      protected org.apache.maven.project.MavenProject project
      The maven project
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      AemAnalyseMojo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Execute the plugin
      • 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
    • Field Detail

      • project

        @Parameter(property="project",
                   readonly=true,
                   required=true)
        protected org.apache.maven.project.MavenProject project
        The maven project
      • artifactHandlerManager

        @Component
        protected org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager
        The artifact manager to resolve artifacts
      • artifactResolver

        @Component
        protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
        The artifact resolver
      • mavenSession

        @Parameter(property="session",
                   readonly=true,
                   required=true)
        protected org.apache.maven.execution.MavenSession mavenSession
        The maven session
    • Constructor Detail

      • AemAnalyseMojo

        public AemAnalyseMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Execute the plugin
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException