|
I suffer from this one too! That's why I removed the automatic references for parent and modules (ref parent/modules) and did it my own. Duplicate of I have similar problems with 2.0-beta-6 and current 2.0-beta-7-SNAPSHOT from SVN (Revision: 657789). In 2.0-beta-5 the children's site.xml is respected, but in the other versions it is completely ignored: All menus defined in parent POM are shown in submodules (but should not). Furthermore, all other tags like bannerLeft and poweredBy are not overwritable in submodule's POM. Martin, downgrade to beta-5 same as I did! Even After downgrading to beta-5 didnt solved this issue for me. Can anybody help? Attaching sample project that showcases this issue. This is not a duplicate of This needs to be in the pipeline to be fixed, otherwise we can't upgrade! Pretty please... I have tried the new 2.0 version of maven-site-plugin (Windows XP + Maven 2.0.9). It still contains this bug. The found problems are as it follows: 1. If the child project has not got its own site.xml definition. then all of the menus are inherited (regardless of the existence of the inherit attribute). In my opinion the inheritance could work properly in cases, where the child has not got its own site.xml. Menu inheritance works fine, if the child project has its own site.xml (except for one case which is described in point 2) 1) is fixed with |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I have the same probleme.
I have a main modul with a site.xml like this
<body>
<menu ref="parent" />
<menu ref="modules"/>
<menu ref="reports"/>
<menu name="Divers">
<item name="Historique des métriques" href="dashboard-report-historic.html"/>
<item name="Documentation" collapse="false">
<item name="Exemple avec APT" href="ex_apt.html" />
<item name="Exemple de FAQ avec fml" href="ex_fml.html"/>
<item name="Exemple avec xdoc" href="ex_xdoc.html" />
<item name="Exemple avec html" href="ex_html.html" />
</item>
</menu>
</body>
And i dont want those item are in the submodules , please what can i do ?