[ 
https://jira.codehaus.org/browse/MNG-5456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed MNG-5456.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0
         Assignee: Kristian Rosenvold

Fixed in 973673721b138e8dde68997fe198dff1417c2299, thanks for the excellent bug 
report!
                
> 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
>            Assignee: Kristian Rosenvold
>            Priority: Critical
>             Fix For: 3.1.0
>
>
> 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

Reply via email to