MNG-5479: ExecutionEvent.Type.SessionEnded omited when runtime exception thrown

This commit is contained in:
Jason van Zyl 2014-02-06 22:21:55 -05:00
parent 88d0abcd30
commit a7cb1596c1
1 changed files with 4 additions and 2 deletions

View File

@ -120,8 +120,10 @@ public class LifecycleStarter
{
result.addException( e );
}
eventCatapult.fire( ExecutionEvent.Type.SessionEnded, session, null );
finally
{
eventCatapult.fire( ExecutionEvent.Type.SessionEnded, session, null );
}
}
private boolean buildExecutionRequiresProject( MavenSession session )