[ http://jira.codehaus.org/browse/MSITE-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99311 ]
Julien S commented on MSITE-136: -------------------------------- I had the same problem (but not in all cases). In a local build, everything works fine, but in a continuum based build, I encountered this bug. I believe the reason is the following: if the parent pom (and the corresponding site descriptor) cannot be found from the filesystem, it attempts to retrieve it from a repository. However, in the repository, the modules and parents paragraphs are _already_ expanded, and these expanded versions seem to serve as a base for the current site generation. > 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