Package org.apache.synapse.maven.xar
Class AbstractXarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.synapse.maven.xar.AbstractXarMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
XarExplodedMojo,XarMojo
public abstract class AbstractXarMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.logging.LogEnabled
Abstract base class for all the mojos in the XAR plugin.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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 voidbuildArchive(org.codehaus.plexus.archiver.Archiver archiver) Build the XAR using the provided archiver.voidenableLogging(org.codehaus.plexus.logging.Logger logger) 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
-
project
protected org.apache.maven.project.MavenProject projectThe maven project.
-
-
Constructor Details
-
AbstractXarMojo
public AbstractXarMojo()
-
-
Method Details
-
enableLogging
public void enableLogging(org.codehaus.plexus.logging.Logger logger) - Specified by:
enableLoggingin interfaceorg.codehaus.plexus.logging.LogEnabled
-
buildArchive
protected void buildArchive(org.codehaus.plexus.archiver.Archiver archiver) throws org.codehaus.plexus.archiver.ArchiverException, org.apache.maven.plugin.MojoExecutionException Build the XAR using the provided archiver.- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.codehaus.plexus.archiver.ArchiverException
-