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

Martin von Gagern commented on MSITE-316:
-----------------------------------------

While 2.0-beta-7-SNAPSHOT as of r664376 does place child sites in the correct 
directory, the links to submodules are still broken here. In that respect, this 
issue has not really been fixed. On the other hand, MSITE-275 describes links 
that are not only ugly but seem to be broken in just the way my links are, so 
this here might be a duplicate of MSITE-275.

When running the test case in a directory /home/mvg/src/java/parent where 
/home/mvg is my home directory, I get this behaviour:
~/src/java/parent> mvn
...
Using this directory for staging: /home/mvg/src/java/parent/target/staging
...
Using this directory for staging: /home/mvg/src/java/parent/target/staging
...
~/src/java/parent> grep Child 
target/staging/ssh.example.com/htdocs/parent/index.html 
                    <a 
href="../../home/mvg/src/java/parent/../../../ssh.example.com/htdocs/parent">Child</a>

Adding some more debug code to 2.0-beta-8-SNAPSHOT r672745 I find that 
outputRelativePath is "../../.." for the parent and "../../../.." for the child 
project.

> Broken links to submodules when staging site
> --------------------------------------------
>
>                 Key: MSITE-316
>                 URL: http://jira.codehaus.org/browse/MSITE-316
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module, relative links
>    Affects Versions: 2.0-beta-6
>         Environment: Linux
>            Reporter: Martin von Gagern
>            Assignee: Dennis Lundberg
>             Fix For: 2.0-beta-7
>
>         Attachments: testcase.zip
>
>
> The attached testcase has a broken link when staged, and the relative path to 
> it looks horrible.
> I had assumed that recent development in maven-doxia-tools might have been to 
> address this issue, so I tried to reproduce with the latest SVN version. 
> There I hit MSITE-315, so I'm reporting this for 2.0-beta-6 as well.
> You might want to make a staging testcase out of this, and have links 
> checked. I don't yet understand all the magic behind the integration tests, 
> so I didn't provide a patch for this.

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