Description
To save a lot of CPU and RAM in Eclipse m2e, we're trying to use ProjectBuilder.build(List<File> projects ...) instead of sequencing multiple Projectbuilder.build(File singleProject...). This has a big positive impact on m2e.
However, we noticed that when the operation is failing in some case because pom is incomplete (which is a pretty usual state in the IDE), the multi-projects method does not return the MavenProject in the ProjectBuildingException.getResults(), while the single-project method does.
Adding MavenProject for the multi-project ProjectBuilder.build(...) would allow m2e to use this method and save ~75% RAM and CPU in many operations.