[
http://jira.codehaus.org/browse/MSITE-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102676
]
John Allen commented on MSITE-136:
----------------------------------
Okay this is definitely due to the above, i.e. for every parent in the
hierarchy of the project being processed that has its own site.xml, the
populateProjectParentMenu() method is called resulting in multiple resolutions
of parent. This should only be done once and only done with the immediate
parent. Will just be a case of relocating this call to somewhere appropriate
(ie out of the recursive getDecorationModel method).
> when inheriting site.xml the <menu ref='parent'> expands to a menu with links
> for *all* ancestors and not just the immediate parent
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: MSITE-136
> URL: http://jira.codehaus.org/browse/MSITE-136
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-5
> Environment: 2.0.4
> Reporter: John Allen
> Fix For: 2.0-beta-7
>
>
> multi-project environment; root project provides site.xml
> root/sub1/sub2/sub3/sub4 site pages get rendered with parent menu containing
> links for all the ancestors and not just the immediate sub3 parent.
> copying root's site.xml into sub4 results in parent being correctly rendered.
> did not test the results of copying site.xml into the middle of the ancestry
> so cant say whether the parents list starts at the project that defines the
> site.xml
--
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