[
https://issues.apache.org/jira/browse/MCOMPILER-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827184#comment-17827184
]
ASF GitHub Bot commented on MCOMPILER-574:
------------------------------------------
slawekjaranowski opened a new pull request, #232:
URL: https://github.com/apache/maven-compiler-plugin/pull/232
https://issues.apache.org/jira/browse/MCOMPILER-574
> AbstractCompilerMojo::execute should propagate exception cause
> ---------------------------------------------------------------
>
> Key: MCOMPILER-574
> URL: https://issues.apache.org/jira/browse/MCOMPILER-574
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Affects Versions: 3.12.1
> Reporter: Alexander Kriegisch
> Assignee: Slawomir Jaranowski
> Priority: Major
> Fix For: 3.13.0
>
>
> [In
> {{AbstractCompilerMojo::execute}}|https://github.com/apache/maven-compiler-plugin/blob/c08b0fda5445a2a3f495a3d6524d80c82fc9d5e6/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java#L680-L684],
> errors caught from the compiler manager are swallowed, instead a new
> {{MojoExecutionException}} is thrown. This renders debugging root causes for
> problems with compiler DI scanning, injection and instantiation virtually
> impossible.
> The caught exception should be passed on as a cause for the new exception.
> [~laeubi], see our discussion
> [here|https://github.com/codehaus-plexus/plexus-compiler/pull/361#discussion_r1477027270].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)