You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin von Gagern (JIRA)" <ji...@codehaus.org> on 2008/04/09 07:47:58 UTC
[jira] Created: (MSITE-316) Broken links to submodules when staging
site
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
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
[jira] Closed: (MSITE-316) Broken links to submodules when staging
site
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MSITE-316.
---------------------------------
Assignee: Dennis Lundberg
Resolution: Fixed
Fix Version/s: 2.0-beta-7
Fixed in r664376.
New 2.0-beta-7-SNAPSHOT deployed.
Please verify.
> 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
[jira] Commented: (MSITE-316) Broken links to submodules when
staging site
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137778#action_137778 ]
Dennis Lundberg commented on MSITE-316:
---------------------------------------
The ugly relative paths are tracked by MSITE-275
> 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
> 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
[jira] Commented: (MSITE-316) Broken links to submodules when
staging site
Posted by "Martin von Gagern (JIRA)" <ji...@codehaus.org>.
[ 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