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

Anne Gerodolle commented on MSITE-270:
--------------------------------------

Dennis,

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: http://jira.codehaus.org/browse/MSITE-270
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: inheritance, site descriptor
>    Affects Versions: 2.0-beta-6
>            Reporter: Jörg Hohwiller
>         Attachments: site-inherit-bug.zip
>
>
> 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: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to