Class 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
    • Constructor Detail

      • AbstractHomeMojo

        public AbstractHomeMojo()
        Constructor
    • Method Detail

      • 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