You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/10/14 18:25:26 UTC
[jira] Closed: (MNG-4062) Evaluate possibility to cache parents
during multi module build
[ http://jira.codehaus.org/browse/MNG-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4062.
----------------------------------
Resolution: Fixed
The model builder is using a ModelCache to reuse parent POMs and imported POMs in a reactor and {{MavenProject.getParent()}} itself is not used by the core so no hotspot either.
> Evaluate possibility to cache parents during multi module build
> ---------------------------------------------------------------
>
> Key: MNG-4062
> URL: http://jira.codehaus.org/browse/MNG-4062
> Project: Maven 2
> Issue Type: Task
> Components: Performance
> Affects Versions: 3.0-alpha-3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 3.0-alpha-3
>
>
> 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).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira