org.codehaus.mojo.script
Class ExecutetMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExecutetMojo()
           
 
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
 

Constructor Detail

ExecutetMojo

public ExecutetMojo()
Method Detail

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-2009 CodeHaus. All Rights Reserved.