org.codehaus.mojo.exec
Class ExecJavaMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.exec.ExecJavaMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ExecJavaMojo
extends org.apache.maven.plugin.AbstractMojo

Executes the supplied java class in the current VM with the enclosing project's dependencies as classpath.

Author:
Kaare Nilsen

Nested Class Summary
 class ExecJavaMojo.IsolatedClassLoader
           
 
Field Summary
protected  org.apache.maven.project.MavenProject project
          The enclosing project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExecJavaMojo()
           
 
Method Summary
 void execute()
          Execute goal.
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
The enclosing project.

Constructor Detail

ExecJavaMojo

public ExecJavaMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Execute goal.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2005-2008 null. All Rights Reserved.