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

ExecutionEvent.Type.SessionEnded omited when runtime exception thrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.4, 3.0.5
    • 3.2.1
    • Embedding, IDEs
    • None
    • 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

            jvanzyl Jason van Zyl
            mkleint Milos Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: