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).
Activity
Brett Porter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 3.0-alpha-5 [ 14952 ] |
Jason van Zyl
made changes -
| Assignee | Benjamin Bentmann [ bentmann ] | |
| Fix Version/s | 3.0-alpha-3 [ 14719 ] | |
| Fix Version/s | 3.0-alpha-5 [ 14952 ] |
Benjamin Bentmann
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Of course, caching parents in general, i.e. parents of plugins or dependencies, should in general reduce project builder overhead.