gnodet commented on code in PR #912: URL: https://github.com/apache/maven/pull/912#discussion_r1051658332
########## maven-core/src/main/java/org/apache/maven/ReactorReader.java: ########## @@ -64,28 +63,21 @@ class ReactorReader implements MavenWorkspaceReader { public static final String HINT = "reactor"; - private static final Collection<String> COMPILE_PHASE_TYPES = - Arrays.asList("jar", "ejb-client", "war", "rar", "ejb3", "par", "sar", "wsr", "har", "app-client"); - private static final Logger LOGGER = LoggerFactory.getLogger(ReactorReader.class); private final MavenSession session; private final Map<String, MavenProject> projectsByGAV; private final Map<String, List<MavenProject>> projectsByGA; private final WorkspaceRepository repository; - private Function<MavenProject, String> projectIntoKey = - s -> ArtifactUtils.key(s.getGroupId(), s.getArtifactId(), s.getVersion()); - - private Function<MavenProject, String> projectIntoVersionlessKey = - s -> ArtifactUtils.versionlessKey(s.getGroupId(), s.getArtifactId()); - @Inject ReactorReader(MavenSession session) { this.session = session; - this.projectsByGAV = session.getAllProjects().stream().collect(toMap(projectIntoKey, identity())); + this.projectsByGAV = session.getAllProjects().stream() Review Comment: It's not. I'll revert this hunk to minimize the changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org