Skip to content

Commit

Permalink
#7: fix to include last phase
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Oct 16, 2023
1 parent c60880d commit 066d001
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ public void onEvent(Object event) throws Exception {
//
projectProfile = new ProjectProfile(executionEvent.getProject());
} else if (executionEvent.getType() == ExecutionEvent.Type.ProjectSucceeded || executionEvent.getType() == ExecutionEvent.Type.ProjectFailed) {
//
//
//
if (phaseProfile != null) {
phaseProfile.stop();
projectProfile.addPhaseProfile(phaseProfile);
phaseProfile = null;
}
projectProfile.stop();
sessionProfile.addProjectProfile(projectProfile);
} else if (executionEvent.getType() == ExecutionEvent.Type.MojoStarted) {
Expand Down

0 comments on commit 066d001

Please sign in to comment.