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/03/03 18:27:13 UTC
[jira] Created: (MNG-4062) Evaluate possibility to cache parents
during multi module build
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
Priority: Minor
>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
[jira] Closed: (MNG-4062) Evaluate possibility to cache parents
during multi module build
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MNG-4062) Evaluate possibility to cache parents
during multi module build
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-4062:
------------------------------
Fix Version/s: 3.0-alpha-5
> 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
> Priority: Minor
> Fix For: 3.0-alpha-5
>
>
> 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
[jira] Commented: (MNG-4062) Evaluate possibility to cache parents
during multi module build
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167753#action_167753 ]
Benjamin Bentmann commented on MNG-4062:
----------------------------------------
Of course, caching parents in general, i.e. parents of plugins or dependencies, should in general reduce project builder overhead.
> 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
> Priority: Minor
>
> 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