kwin edited a comment on pull request #632:
URL: https://github.com/apache/maven/pull/632#issuecomment-988618617


   I tried it out with a dummy mojo and both exceptions behave exactly the 
same, i.e. both emit "BUILD FAILURE". I couldn't influence the build outcome 
with any of the `--fail-xxx` options nor continue the build after the exception 
happened. I had a quick look in the commit logs and found 
(https://github.com/apache/maven/commit/06dc81b54e48b76ce25675f2ae52e39ac8aeb396#diff-976d393f31905911c189adc496696a5047b0aae4526ba1c5d13bf7502ce2cbca)
 which once treated `MojoExecutionException` separately, but that class has 
been removed in 
https://github.com/apache/maven/commit/ae1501b9f67db880ea7f16299f95f00ce04728ff 
(with Maven 3), so most probably having two different exception classes is no 
longer useful in Maven 3...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to