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

André Fügenschuh commented on MSITE-456:
----------------------------------------

Solved!? I think I got it.
Adding an _inherit_ attribute to the menu entries in {{src/site/site.xml}} will 
make it work with v. 2.1.1 again.
- which is *not* documented as such!, see: [Site 
Descriptor|http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html].

2.0.1

{noformat}
  <body>
    <menu ref="parent"/>
    ...
{noformat}

2.1.1

{noformat}
  <body>
    <menu ref="parent" inherit="top"/>
    ...
{noformat}

If this behaviour is *not* just a side-effect but 'works as designed', an 
explicit hint in the documentation for the site descriptor usage (for 
multi-module projects?) is required.



> [regression] Site navigation not generated
> ------------------------------------------
>
>                 Key: MSITE-456
>                 URL: http://jira.codehaus.org/browse/MSITE-456
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
> Java version: 1.6.0_16
> Java home: d:\jdk1.6.0_16\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Paul Benedict
>            Assignee: Dennis Lundberg
>            Priority: Critical
>             Fix For: 2.1.1, 3.0-alpha-1
>
>         Attachments: MSITE-456.zip, site-test.zip
>
>
> My corporate POM locks down the maven-site-plugin to version 2.1. The site of 
> the corporate POM generates just fine. However, when a child project inherits 
> from it, that project's site contains no left-hand navigation. Reverting to 
> 2.0.1 is my workaround.

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