public class BeanshellMojoAdapter extends AbstractMojo
| Constructor and Description |
|---|
BeanshellMojoAdapter(Mojo mojo,
Interpreter interpreter) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Perform whatever build-process behavior this
Mojo implements. |
Interpreter |
getInterpreter() |
getLog, getPluginContext, setLog, setPluginContextpublic BeanshellMojoAdapter(Mojo mojo, Interpreter interpreter)
public void execute()
throws MojoExecutionException,
MojoFailureException
MojoMojo implements.
Mojo inside the Maven system, and allows
the Mojo to communicate errors.MojoExecutionException - if an unexpected problem occurs.
Throwing this exception causes a "BUILD ERROR" message to be displayed.MojoFailureException - if an expected problem (such as a compilation failure) occurs.
Throwing this exception causes a "BUILD FAILURE" message to be displayed.public Interpreter getInterpreter()