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

Dennis Lundberg commented on MSITE-270:
---------------------------------------

I'm on Windows XP using Maven 2.0.8 and Sun's JDK 1.4.2_17. When I go in and run

{noformat}
mvn site:stage -DstagingDirectory=/some/dir
{noformat}

The site for "module1" has the "Documentation" menu, which it shouldn't. The 
menu structure looks like this:

{noformat}
General Information

    * Introduction
    * Overview
    * Release Notes

Parent Project

    * Site-Inherti-Bug

General Information

    * Introduction
    * Overview
    * Getting Involved
    * Road Map
    * Release Notes
    * History
    * Stories

Documentation

    * Javadoc
    * FAQ
    * Users Guide

Developer Guides

    * Setup
    * Conventions

Project Documentation

    * Project Information
          o About
          o Continuous Integration
          o Dependencies
          o Dependency Convergence
          o Issue Tracking
          o Mailing Lists
          o Project License
          o Project Summary
          o Project Team
          o Source Repository
{noformat}

Then I go into the parent POM and change 2.0-beta-6-SNAPSHOT to 
2.0-beta-7-SNAPSHOT, remove the "some" directories and run the same command 
again.

The site for "module1" no longer has the "Documentation" menu. The menu 
structure looks like this:

{noformat}
Parent Project

    * Site-Inherti-Bug

General Information

    * Introduction
    * Overview
    * Release Notes

Project Documentation

    * Project Information
          o About
          o Continuous Integration
          o Dependencies
          o Dependency Convergence
          o Issue Tracking
          o Mailing Lists
          o Project License
          o Project Summary
          o Project Team
          o Source Repository
{noformat}

If you have other results, please shared them with us. Also specify OS, JDK and 
Maven version.

> 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