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

ExecutionEvent.Type.SessionEnded omited when runtime exception thrown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 3.0.5
    • Fix Version/s: 3.2.1
    • Component/s: Embedding, IDEs
    • Labels:
      None
    • Flags:
      Patch

      Description

      in LifecycleStarter.java the ExecutionEvent.Type.SessionStarted is always fired, but ExecutionEvent.Type.SessionEnded appears only be fired when in some cases, omitted in case of RuntimeException thrown. IMHO the event should be fired in finally {} block. See attached patch.

        Attachments

        1. maven.patch
          0.7 kB
          Milos Kleint

          Activity

            People

            • Assignee:
              jvanzyl Jason van Zyl
              Reporter:
              mkleint Milos Kleint
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: