mirror of https://github.com/apache/maven.git
add mojo failure exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
283e0595bb
commit
fe823b13ac
|
@ -21,6 +21,7 @@ import bsh.Interpreter;
|
|||
import org.apache.maven.plugin.AbstractMojo;
|
||||
import org.apache.maven.plugin.Mojo;
|
||||
import org.apache.maven.plugin.MojoExecutionException;
|
||||
import org.apache.maven.plugin.MojoFailureException;
|
||||
import org.codehaus.plexus.component.factory.bsh.BshComponent;
|
||||
|
||||
/**
|
||||
|
@ -46,7 +47,7 @@ public class BeanshellMojoAdapter
|
|||
}
|
||||
|
||||
public void execute()
|
||||
throws MojoExecutionException
|
||||
throws MojoExecutionException, MojoFailureException
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue