mirror of
https://github.com/apache/maven.git
synced 2025-02-06 18:18:48 +00:00
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 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 BeanshellMojoAdapter( Mojo mojo, Interpreter interpreter )
|
||||
}
|
||||
|
||||
public void execute()
|
||||
throws MojoExecutionException
|
||||
throws MojoExecutionException, MojoFailureException
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user