Hi everybody,
 
>From what I have read in the documentation, and from some previous
experiences, I expect that site.xml files are inherited, and that if
both the parent and child projects contain a site.xml file, the
resulting site (in the child project) should mix menu definitions found
in the child site.xml and inherited definitions.
 
However, I observe something very strange. I have built a small project
with a multimodule parent project, and two children. The parent's
site.xml defines a "menu1" menu, and the child's defines a "menu2" menu.
I wanted to enclose this project as a zip file but had a mail delivery
problem, so I'm enclosing only the parent's and child's site.xml files.
 
If using the last plugin 2.0-beta-6, and running : mvn clean , then mvn
site, I see only "menu1", it looks like the site.xml from the parent is
inherited but the child's menu is ignored.
 
if using the previous version 2.0-beta5, I see only "menu2", menu1 is
not inherited from the parent.
 
I'm sure I have already observed the expected behaviour, but it was on a
more complex example.
 
thank you in advance for your help,
 
Anne
<?xml version="1.0" encoding="ISO-8859-15"?>

<project name="${project.name}">
	<body>
		<links>
			<item name="link1"
				href="http://link1/link1.html"; />
			<item name="link2"
				href="http://link1/link2.html"; />
		</links>
		<menu name="menu1" inherits="bottom">
			<item name="Index" href="index.html" />
		</menu>
		<menu ref="modules"/>
	</body>
</project>
<?xml version="1.0" encoding="ISO-8859-15"?>

<project name="${project.name}">
	<body>
		<menu name="menu2" >
			<item name="module1" href="index.html" />
			<item name="contacts" href="contact.html" />
		</menu>
	</body>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to