Package org.apache.axis2.maven2.aar
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
FieldsModifier and TypeFieldDescriptionprotected FileThe directory where the aar is built.protected FileThe projects base directory.protected org.apache.maven.project.MavenProjectThe maven project.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidBuilds the exploded AAR file.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
baseDir
The projects base directory. -
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project. -
aarDirectory
@Parameter(defaultValue="${project.build.directory}/aar", required=true) protected File aarDirectoryThe directory where the aar is built.
-
-
Constructor Details
-
AbstractAarMojo
public AbstractAarMojo()
-
-
Method Details
-
buildExplodedAar
protected void buildExplodedAar() throws org.apache.maven.plugin.MojoExecutionExceptionBuilds the exploded AAR file.- Throws:
org.apache.maven.plugin.MojoExecutionException
-