[
https://jira.codehaus.org/browse/MNG-5593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Schnupp updated MNG-5593:
---------------------------------
Description:
The
[DefaultBuildPluginManager|https://maven.apache.org/ref/3.2.1/maven-core/xref/org/apache/maven/plugin/DefaultBuildPluginManager.html#L133]
executes the plugin mojo and catches all kind of exceptions.
However if the plugin throws some Error, it is not catched and maven continues
like everything went fine.
Shouldn't maven handle Errors and stop the build in that case?
(see also IZPACK-1050)
was:
The
[DefaultBuildPluginManager|https://maven.apache.org/ref/3.2.1/maven-core/xref/org/apache/maven/plugin/DefaultBuildPluginManager.html#L133]
executes the plugin mojo and catches all kind of exceptions.
However if the plugin throws some Error, it is not catched and maven continues
like everything went fine.
Shouldn't maven handle Errors and stop the build in that case?
> Plugin Errors are not handled
> -----------------------------
>
> Key: MNG-5593
> URL: https://jira.codehaus.org/browse/MNG-5593
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Plugins and Lifecycle
> Affects Versions: 3.2.1
> Reporter: Michael Schnupp
> Priority: Critical
>
> The
> [DefaultBuildPluginManager|https://maven.apache.org/ref/3.2.1/maven-core/xref/org/apache/maven/plugin/DefaultBuildPluginManager.html#L133]
> executes the plugin mojo and catches all kind of exceptions.
> However if the plugin throws some Error, it is not catched and maven
> continues like everything went fine.
> Shouldn't maven handle Errors and stop the build in that case?
> (see also IZPACK-1050)
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)