[
http://jira.codehaus.org/browse/MINVOKER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MINVOKER-78.
-------------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: 1.4
Fixed in [r737521|http://svn.eu.apache.org/viewvc?view=rev&revision=737521].
> Throwing subclasses of java.lang.Error from hook script aborts main build
> with "FATAL ERROR"
> --------------------------------------------------------------------------------------------
>
> Key: MINVOKER-78
> URL: http://jira.codehaus.org/browse/MINVOKER-78
> Project: Maven 2.x Invoker Plugin
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 1.4
>
>
> The current script interpreter facades in the Invoker Plugin only catch
> subclasses of {{java.lang.Exception}} from the script invocation but
> instances of {{java.lang.Error}} go through uncaught, upto the main Maven
> build where they cause a "FATAL ERROR". In other words, the plugin parameter
> {{ignoreFailures}} is ineffective in those cases.
> The most prominent example of this issue are post-build Groovy scripts that
> employ the {{assert}} keywords which in turn creates a
> {{java.lang.AssertionError}}.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira