You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "alexandr kiryanov (JIRA)" <ji...@codehaus.org> on 2008/12/08 14:59:19 UTC

[jira] Issue Comment Edited: (MSITE-169) links to modules where not working if a modules dir is used

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

alexandr kiryanov edited comment on MSITE-169 at 12/8/08 7:58 AM:
------------------------------------------------------------------

The problem still exists for 2.0-beta-7 version.
MNG-MSITE-169-maven-site-plugin.patch was manually applied for 2.0-beta-7 version and then generated new patch. Use it if you want to fix described problem for 2.0-beta-7 version.

This patch fixes problems described above but unfortunately  it makes problems for links that were correct :(

      was (Author: alexandr.kiryanov):
    The problem still exists for 2.0-beta-7 version.
MNG-MSITE-169-maven-site-plugin.patch was manually applied for 2.0-beta-7 version and then generated new patch. Use it if you want to fix described problem for 2.0-beta-7 version.
  
> links to modules where not working if a modules dir is used
> -----------------------------------------------------------
>
>                 Key: MSITE-169
>                 URL: http://jira.codehaus.org/browse/MSITE-169
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Mathias Brökelmann
>         Attachments: 169-maven-site-plugin-for-2.0-beta-7.patch, MNG-MSITE-169-maven-site-plugin.patch, MSITE-169.zip
>
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

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