You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2013/05/17 15:40:52 UTC

[jira] (MNG-5479) ExecutionEvent.Type.SessionEnded omited when runtime exception thrown

Milos Kleint created MNG-5479:
---------------------------------

             Summary: ExecutionEvent.Type.SessionEnded omited when runtime exception thrown
                 Key: MNG-5479
                 URL: https://jira.codehaus.org/browse/MNG-5479
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Embedding, IDEs
    Affects Versions: 3.0.5, 3.0.4
            Reporter: Milos Kleint
         Attachments: maven.patch

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira