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
    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
    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

    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

    • project

      protected org.apache.maven.project.MavenProject project
      The maven project.
  • Constructor Details

    • AbstractXarMojo

      public AbstractXarMojo()
  • Method Details

    • enableLogging

      public void enableLogging(org.codehaus.plexus.logging.Logger logger)
      Specified by:
      enableLogging in interface org.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