Class AbstractAarMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.axis2.maven2.aar.AbstractAarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AarExplodedMojo, AarInPlaceMojo, AarMojo, DeployAarMojo

public abstract class AbstractAarMojo extends org.apache.maven.plugin.AbstractMojo
Abstract base class of all the mojos in the axis2-aar-maven-plugin.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected File
    The directory where the aar is built.
    protected File
    The projects base directory.
    protected org.apache.maven.project.MavenProject
    The maven project.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Builds the exploded AAR file.

    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 Details

    • baseDir

      @Parameter(property="project.basedir", required=true, readonly=true) protected File baseDir
      The projects base directory.
    • project

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

      @Parameter(defaultValue="${project.build.directory}/aar", required=true) protected File aarDirectory
      The directory where the aar is built.
  • Constructor Details

    • AbstractAarMojo

      public AbstractAarMojo()
  • Method Details

    • buildExplodedAar

      protected void buildExplodedAar() throws org.apache.maven.plugin.MojoExecutionException
      Builds the exploded AAR file.
      Throws:
      org.apache.maven.plugin.MojoExecutionException