[ 
http://jira.codehaus.org/browse/MSITE-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135385#action_135385
 ] 

Martin Burger commented on MSITE-293:
-------------------------------------

Duplicate of MSITE-262 and MSITE-297?

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.

> Submodule inherit menu but this should not happend
> --------------------------------------------------
>
>                 Key: MSITE-293
>                 URL: http://jira.codehaus.org/browse/MSITE-293
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-6
>         Environment: maven 2.0.8
> jdk 1.6
> windows
>            Reporter: Andreas Höhmann
>            Priority: Critical
>
> Projectstructur:
> modul
> |  pom.xml
> |  src/site/site.xml
> |  src/site/xdoc/index.xml
> +-- submodul 1
>     |  pom.xml
>     |  src/site/xdoc/index.xml
> +-- submodul 2
>     |  pom.xml
>     |  src/site/xdoc/index.xml 
> modul :: site.xml
> ...
>          <body>
>               <menu ref="parent" />
>               
>               <menu name="Overview" inherit="top">
>                 <item name="Introduction" href="index.html"/>
>               </menu>
>               
>               <menu name="Maven">
>                       <item name="FAQ" href="faq.html"/>
>                 <item name="Profiles" href="maven_profiles.html"/>
>               </menu>
>               
>               <links>
>                       <item name="Maven Repository" 
> href="http://lp2p067c:82/maven2/repositories/"; />
>               </links>
>               
>               <menu ref="modules" inherit="bottom" />
>               <menu ref="reports" inherit="bottom" />
>  </body>
> ...
> after "mvn clean install site" each submodules has a menu "Maven" ... but i 
> want this only for the "main-modul".
> whats wrong?
> http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html
>  ... Inheritance ... "By default, only the basic settings are inherited. From 
> the body, only the links are inherited, and these accumulate to contain all 
> the parents' site descriptor links."

-- 
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


Reply via email to