Ivan S. Dubrov created MNG-5456:
-----------------------------------
Summary: Maven skips modules and reports success if parallel build
encounters java.lang.Error
Key: MNG-5456
URL: https://jira.codehaus.org/browse/MNG-5456
Project: Maven 2 & 3
Issue Type: Bug
Components: Bootstrap & Build
Reporter: Ivan S. Dubrov
Priority: Critical
If Mojo throws instance of java.lang.Error during the parallel build (for
example, OutOfMemoryError), Maven marks module as "SKIPPED", skips the rest of
the modules and reports "BUILD SUCCESSFUL". This is very confusing and
dangerous behavior.
The root cause is that exception coming from executor service is swallowed at
line 133 in the org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder.
Note that this only happens if parallel build is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira