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
Fields Modifier and Type Field Description protected org.apache.maven.project.MavenProject
project
The maven project.
-
Constructor Summary
Constructors Constructor Description AbstractXarMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildArchive(org.codehaus.plexus.archiver.Archiver archiver)
Build the XAR using the provided archiver.void
enableLogging(org.codehaus.plexus.logging.Logger logger)
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Method Detail
-
enableLogging
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
- Specified by:
enableLogging
in 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.MojoExecutionException
org.codehaus.plexus.archiver.ArchiverException
-
-