org.apache.torque.mojo
Class AntTaskMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.torque.mojo.BaseMojo
          extended by org.apache.torque.mojo.AntTaskMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ExportMojo, TexenTaskMojo

public class AntTaskMojo
extends BaseMojo

A base class for mojos that wrap an Ant Task


Field Summary
 
Fields inherited from class org.apache.torque.mojo.BaseMojo
FS, SKIP_PACKAGING_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AntTaskMojo()
           
 
Method Summary
protected  void configureTask()
          Configures the Ant task which is wrapped by this mojo.
 void executeMojo()
          Configure the Ant task and then execute it
 org.apache.tools.ant.Project getAntProject()
           
 org.apache.tools.ant.Task getAntTask()
           
protected  org.apache.tools.ant.Project getIniatializedAntProject()
          Return an Ant project that informs Maven about logging events
 void setAntProject(org.apache.tools.ant.Project antProject)
           
 void setAntTask(org.apache.tools.ant.Task antTask)
           
 
Methods inherited from class org.apache.torque.mojo.BaseMojo
afterExecution, beforeExecution, execute, getEncoding, getMavenSession, getProject, getSettings, isForceMojoExecution, isSkip, isStartMavenLogger, setEncoding, setForceMojoExecution, setMavenSession, setProject, setSettings, setSkip, setStartMavenLogger, skipMojo
 
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 Detail

AntTaskMojo

public AntTaskMojo()
Method Detail

configureTask

protected void configureTask()
                      throws org.apache.maven.plugin.MojoExecutionException
Configures the Ant task which is wrapped by this mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException

executeMojo

public void executeMojo()
                 throws org.apache.maven.plugin.MojoExecutionException
Configure the Ant task and then execute it

Specified by:
executeMojo in class BaseMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

getIniatializedAntProject

protected org.apache.tools.ant.Project getIniatializedAntProject()
Return an Ant project that informs Maven about logging events


getAntProject

public org.apache.tools.ant.Project getAntProject()

setAntProject

public void setAntProject(org.apache.tools.ant.Project antProject)

getAntTask

public org.apache.tools.ant.Task getAntTask()

setAntTask

public void setAntTask(org.apache.tools.ant.Task antTask)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.