org.codehaus.mojo.exec
Class ExecJavaMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.AbstractExecMojo
org.codehaus.mojo.exec.ExecJavaMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class ExecJavaMojo
- extends AbstractExecMojo
Executes the supplied java class in the current VM with the enclosing project's
dependencies as classpath.
- Since:
- 1.0
- Author:
- Kaare Nilsen, David Smiley
- Requires the dependencies in this specified scope:
- test
- Is defined to be executed in:
- phase:
- validate
- Is defined by the goal name:
- java
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Execute goal. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecJavaMojo
public ExecJavaMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Execute goal.
- Throws:
MojoExecutionException
- execution of the main class or one of the threads it generated failed.
MojoFailureException
- something bad happened...
Copyright © 2005-2012 Codehaus. All Rights Reserved.