mirror of https://github.com/apache/maven.git
MNG-5479: ExecutionEvent.Type.SessionEnded omited when runtime exception thrown
This commit is contained in:
parent
88d0abcd30
commit
a7cb1596c1
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue