You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2007/11/04 18:44:12 UTC

[jira] Commented: (MSITE-215) creates broken links for parents parent

    [ http://jira.codehaus.org/browse/MSITE-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112741 ] 

Dennis Lundberg commented on MSITE-215:
---------------------------------------

I tried your example project and can confirm the described wrong behavior, when used with maven-site-plugin 2.0-beta-5. However, if I use the latest 2.0-beta-6-SNAPSHOT, it seems to work as expected. Only one parent link shows up in the menu of banana-baby and it goes to banana-daddy. There is no link to banana-grandpa in the menu of banana-baby.

Jörg, can you confirm this?

> <menu ref='parent'> creates broken links for parents parent
> -----------------------------------------------------------
>
>                 Key: MSITE-215
>                 URL: http://jira.codehaus.org/browse/MSITE-215
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>            Reporter: Jörg Hohwiller
>         Attachments: banana-world.zip
>
>
> In a multi-project environment with modules that again have modules (project/module1/module1A) the <menu ref='parent'> not only creates the direct parent but all parents (see issue MSITE-136) what seems perfect to me.
> Anyways only the link of the direct parent works for me. All other links are broken. I use "mvn site:stage -DstagingDirectory=<absolutePath>".
> If I use -DstagingDirectory=/foo/bar then the link for "module1" is "/foo/bar/<staging-crap>/module1/index.html" what is correct. But the link for "project" is "/foo/<staging-crap>/index.html" but it should be "/foo/bar/<staging-crap>/index.html".
> Besides I do NOT want to have the "<staging-crap>" what is automatically produced from the "<distributionManagement>" of the POM, but is required for site:stage to work.

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