void (ExecutionEvent event, String projectId) { MavenSession session = event.getSession(); if (session != null) { List<MavenProject> projectsInReactor = session.getProjects(); if (projectsInReactor == null) { projectsInReactor = new ArrayList<>(); } StringBuilder builder = new StringBuilder(); for (MavenProject project : projectsInReactor) { builder .append(project.getGroupId()).append(":") .append(project.getArtifactId()).append(":") .append(project.getVersion()).append("&&"); } printMavenEventInfo(ExecutionEvent.Type.SessionStarted, "id", projectId, "projects", builder); } else { printMavenEventInfo(ExecutionEvent.Type.SessionStarted, "id", projectId, "projects", ""); } }