void (@NotNull ProcessEvent event) { myContext.getStartedProjects(); if (event.getExitCode() == 0 && myContext.getStartedProjects().size() != 0 && myContext.getProjectsInReactor().size() != myContext.getStartedProjects().size()) { log(String.format("Build was success, but not all project was build. Project build order: %s, built projects: %s", myContext.getProjectsInReactor(), myContext.getStartedProjects())); } if (event.getExitCode() != 0) { if (myContext.getStartedProjects().isEmpty()) { return; } if (myContext.getStartedProjects().size() == 1 && !hasResumeFromParameter(myRunConfiguration)) { return; } myResumeModuleId = myContext.getStartedProjects().get(myContext.getStartedProjects().size() - 1); String[] splitted = myResumeModuleId.split(":"); if (splitted.length < 2) { myResumeFromModuleName = myResumeModuleId; } else { myResumeFromModuleName = splitted[1]; } } }