maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guimiot Isabelle (JIRA)" <>
Subject [jira] Commented: (MSITE-270) site.xml: menus inherited that should not
Date Fri, 07 Dec 2007 10:48:58 GMT


Guimiot Isabelle commented on MSITE-270:

I have a problem that seems to be linked to this one (beta-6) : I have a root module and some

The root site.xml contains :

		<menu ref="modules" />
		<menu name="Menu">
			<item name="Root Doc" href="/rootDoc.html" />

and each sub-module site.xml contains :
		<menu ref="parent" />	
		<menu ref="reports" />
		<menu name="Menu" >
			<item name="Foo" href="/foo.html"/>
When I launch the site goal, I obtain this menu :

- in the root site (correct) :
Project 1 
Project 2 

Root Doc

- in the sub-modules site (completely wrong) :
Root Doc

...instead of stuff like that :
Parent Project

Report 1
Report 2
Report 3


If I understand, it seems that the submodule site.xml is totally ignored, and replaced by
an inherited site.xml from the root module. I also tried to put some "inherit" attributes
everywhere in both files (root and submodule) but it didn't change anything...
This issue is very important, I have to keep my beta-5 version until it's resolved.


> site.xml: menus inherited that should not
> -----------------------------------------
>                 Key: MSITE-270
>                 URL:
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5, 2.0-beta-6
>            Reporter: Jörg Hohwiller
>         Attachments:
> I have a project with multiple levels of modules.
> In the toplevel project I declare a site-descriptor with some general menu's that have
no inherit attribute (I also tried inherit='none') together with 
>     <menu ref="parent" inherit="top"/>
>     <menu ref="modules" inherit="bottom"/>
>     <menu ref="reports" inherit="bottom"/>
> Now a module of the toplevel project that itself has modules declares a site-descriptor
with an additional regular menu that is inherited.
> However the site of that module contains the menus from the toplevel project that are
NOT declared to be inherited.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message