Package org.apache.axis2.maven2.mar
Class AbstractMarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.axis2.maven2.mar.AbstractMarMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
MarExplodedMojo,MarInPlaceMojo,MarMojo
public abstract class AbstractMarMojo
extends org.apache.maven.plugin.AbstractMojo
Abstract base class of all the mojos in the axis2-mar-maven-plugin.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileThe projects base directory.protected FileThe directory where the mar is built.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 mar 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
protected org.apache.maven.project.MavenProject projectThe maven project. -
marDirectory
The directory where the mar is built.
-
-
Constructor Details
-
AbstractMarMojo
public AbstractMarMojo()
-
-
Method Details
-
buildExplodedMar
protected void buildExplodedMar() throws org.apache.maven.plugin.MojoExecutionExceptionBuilds the exploded mar file.- Throws:
org.apache.maven.plugin.MojoExecutionException
-