Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0-alpha-3
-
Fix Version/s: 3.0-alpha-3
-
Component/s: Performance
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
From a breakpoint in DefaultMavenProjectBuilder.build(File, ProjectBuilderConfiguration) it seems that the parent of a multi-module project is rebuild for each child in the reactor. Given the likelihood of the modules in the reactor having the same parent, it could be a good opportunity for optimization to cache the parents (or projects in general).
Of course, caching parents in general, i.e. parents of plugins or dependencies, should in general reduce project builder overhead.