maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Gerodolle (JIRA)" <>
Subject [jira] Commented: (MSITE-270) site.xml: menus inherited that should not
Date Tue, 01 Jul 2008 15:46:26 GMT


Anne Gerodolle commented on MSITE-270:


I was observing a "NullPointerException" that prevented the child's site from being built.

After doing some research on jira,  I've modified the pom to add an "URL" tag in the parent
pom (as mentionned by Benjamin in MSITE-180) . Now the example works just as you are describing.

I'm running maven on Linux ubuntu, using Maven 2.0.9 and Sun's JDK 1.5.0_15-b05  I've tried
also with jdk 1.4.2, with the same result.

I'm going to check my previous example where inherited menus are missing and try to understand
the difference.

> site.xml: menus inherited that should not
> -----------------------------------------
>                 Key: MSITE-270
>                 URL:
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: inheritance, site descriptor
>    Affects Versions: 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