[
https://issues.apache.org/jira/browse/MNG-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hervé Boutemy closed MNG-6533.
------------------------------
Resolution: Fixed
Assignee: Hervé Boutemy (was: Robert Scholte)
reworked PR merged in
https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=2928dc6b68660cc5ac4022b0bfbc84d51d6905e4
https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=049b7a7ba8857fdbca94acca4d104af6f3532ee9
https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=ae1c32aa099b63e68200128c5bd526a08c07b9f5
https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=8b7055fe3ff3696b821409a6904ff4d69aa3ff6b
https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=27332cfab0a18bbbd7d7d1374f2a201577d9c567
https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=24c762d7c3d66607e620fddb0743c7eadd041107
> ProjectBuilder.build(list_of_projects,...) does not contain MavenProject in
> exception report
> --------------------------------------------------------------------------------------------
>
> Key: MNG-6533
> URL: https://issues.apache.org/jira/browse/MNG-6533
> Project: Maven
> Issue Type: Bug
> Components: core
> Affects Versions: 3.5.4, 3.6.0
> Reporter: Mickael Istria
> Assignee: Hervé Boutemy
> Priority: Major
> Fix For: 3.6.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)