From fe823b13acfdb40a13860595e68900ba9dc2436d Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Mon, 3 Oct 2005 04:24:11 +0000 Subject: [PATCH] add mojo failure exception git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293233 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/script/beanshell/BeanshellMojoAdapter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java b/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java index 37d92f7927..7dcc064efe 100644 --- a/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java +++ b/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java @@ -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 {