Stefan Oehme created MNG-8678:
---------------------------------

             Summary: Concurrent executor ignores java.lang.Error subclasses
                 Key: MNG-8678
                 URL: https://issues.apache.org/jira/browse/MNG-8678
             Project: Maven
          Issue Type: Bug
          Components: Core
    Affects Versions: 4.0.0-rc-3
            Reporter: Stefan Oehme


The 
[handleBuildFailure|https://github.com/apache/maven/blob/ba93946cafdaabc725212d43ccf26dadf6088b75/impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java#L377]
 method only handles Exception instead of Throwable. Things like 
OutOfMemoryError are ignored and the build is reported as successful even 
though something failed.

This is inconsistent with the old 
[LifeCycleModuleBuilder|https://github.com/apache/maven/blob/ba93946cafdaabc725212d43ccf26dadf6088b75/impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java#L122]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to