Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7778

Maven should print suppressed exceptions when a mojo fails

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8.8, 3.9.1, 4.0.0-alpha-5
    • 3.8.9, 3.9.2, 4.0.0-alpha-7, 4.0.0
    • Logging
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              marcphilipp Marc Philipp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: