You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marc Philipp (Jira)" <ji...@apache.org> on 2023/05/05 12:07:00 UTC

[jira] [Created] (MNG-7778) Maven should print suppressed exceptions when a mojo fails

Marc Philipp created MNG-7778:
---------------------------------

             Summary: Maven should print suppressed exceptions when a mojo fails
                 Key: MNG-7778
                 URL: https://issues.apache.org/jira/browse/MNG-7778
             Project: Maven
          Issue Type: Improvement
          Components: Logging
    Affects Versions: 4.0.0-alpha-5, 3.9.1, 3.8.8
            Reporter: Marc Philipp


When a Mojo fails by throwing an exception any suppressed exceptions are omitted when printing its stacktrace. Since suppressed exceptions can often provide additional insights into such failures they should be printed similar to what `Throwable.printStackTrace` does.



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