void (@NotNull ProcessEvent event) { if (myState == STATE_WTF) return; if (event.getExitCode() == 0 && myBuildingProjectIndex != myMavenProjectNames.size()) { log(String.format("Build was success, but not all project was build. Project build order: %s, build index: %d", myMavenProjectNames, myBuildingProjectIndex)); } if (event.getExitCode() == 1 && myBuildingProjectIndex > 0) { if (myBuildingProjectIndex == 1 && !hasResumeFromParameter(myRunConfiguration)) { return; } myResumeFromModuleName = myMavenProjectNames.get(myBuildingProjectIndex - 1); MavenProject mavenProject = findProjectByName(myResumeFromModuleName); if (mavenProject != null) { myResumeModuleId = mavenProject.getMavenId().getGroupId() + ':' + mavenProject.getMavenId().getArtifactId(); } } }