org.apache.maven.plugin.antrun
Class AntRunMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.antrun.AbstractAntMojo
          extended by org.apache.maven.plugin.antrun.AntRunMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AntRunMojo
extends AbstractAntMojo

Maven AntRun Mojo. This plugin provides the capability of calling Ant tasks from a POM by running the nested ant tasks inside the <tasks/> parameter. It is encouraged to move the actual tasks to a separate build.xml file and call that file with an <ant/> task.

Version:
$Id$
Author:
Kenney Westerhof, Vincent Siveton
Is configured to the role hint:
override
Is defined by the goal name:
run
Requires the dependencies in this specified scope:
test

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AntRunMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.antrun.AbstractAntMojo
executeTasks, executeTasks, getPathFromArtifacts
 
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

AntRunMojo

public AntRunMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
Mojo.execute()


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.