Class AbstractHomeMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.jca.sjc.maven.AbstractHomeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
Start, Stop

public abstract class AbstractHomeMojo extends org.apache.maven.plugin.AbstractMojo
An abstract home mojo
Author:
Jesper Pedersen
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    Execute
    Get the home directory
    void
    Set the home directory

    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
  • Constructor Details

    • AbstractHomeMojo

      public AbstractHomeMojo()
      Constructor
  • Method Details

    • getHome

      public String getHome()
      Get the home directory
      Returns:
      The value
    • setHome

      public void setHome(String v)
      Set the home directory
      Parameters:
      v - The value
    • execute

      public abstract void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Execute
      Throws:
      org.apache.maven.plugin.MojoExecutionException - Thrown if the plugin cant be executed
      org.apache.maven.plugin.MojoFailureException - Thrown if there is an error