maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason van Zyl (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-5479) ExecutionEvent.Type.SessionEnded omited when runtime exception thrown
Date Fri, 07 Feb 2014 03:24:57 GMT

    [ https://jira.codehaus.org/browse/MNG-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=340777#comment-340777
] 

Jason van Zyl commented on MNG-5479:
------------------------------------

Fixed in a7cb1596c1d06cbc20bf23b3c7dede1c8c91b9e0

> 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.4, 3.0.5
>            Reporter: Milos Kleint
>            Assignee: Jason van Zyl
>             Fix For: 3.2
>
>         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 was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message