org.codehaus.mojo.script
Class ExecutetMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.script.ExecutetMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ExecutetMojo
- extends org.apache.maven.plugin.AbstractMojo
A Maven 2 plugin runs a script using BSF.
- Version:
- $Id: ScriptMojo.java,v 1.1 2006/08/25 21:11:11 pikus Exp $
- Author:
- Tomasz Pik
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Loads and executes a script. |
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 |
ExecutetMojo
public ExecutetMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Loads and executes a script.
- Throws:
org.apache.maven.plugin.MojoExecutionException
- if script cannot be loaded or executed.
Copyright © 2006-2011 CodeHaus. All Rights Reserved.