[ http://jira.codehaus.org/browse/MSITE-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186430#action_186430 ]
Jason Smith commented on MSITE-422: ----------------------------------- The web site address is a little different from the webdav site. http://groovy.codehaus.org/modules/scriptom/SNAPSHOT/1.6.1-SNAPSHOT/index.html So there is no way for any code to be able to relativize the links based on the information given. The path lengths differ!!! I really need to be able to ensure that what I put in the HREF is passed through to the HTML. No modification. > Links being "relativized" incorrectly. > -------------------------------------- > > Key: MSITE-422 > URL: http://jira.codehaus.org/browse/MSITE-422 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Components: relative links > Affects Versions: 2.0.1 > Reporter: Jason Smith > > This also appears to be broken in 2.1-SNAPSHOT as the original entry date of > this JIRA. It was first discovered in 2.0, and also affects 2.0.1. > I have the following links in my site.xml. This is a multi-module project, > but this affects the top-level (parent) project documentation. > <links> > <item name="Groovy" href="http://groovy.codehaus.org/COM+Scripting/.." > /> > <item name="Scriptom Wiki" > href="http://groovy.codehaus.org/COM+Scripting" /> > </links> > Here is the HTML produced: > <a href="../">Groovy</a> | > <a href="http://groovy.codehaus.org/COM+Scripting" > class="externalLink">Scriptom Wiki</a> > The first link is relativized. Incorrectly. My site-distribution is: > <site> > <id>codehaus.org.snapshots</id> > <name>Groovy Website</name> > <url>dav:https://dav.codehaus.org/groovy/modules/scriptom/SNAPSHOT/${project.version}</url> > </site> > Technically, the relative path should be "../../../../..". It would have > worked just fine if the HREF were "http://groovy.codehaus.org/". > Is it actually necessary to complicate the <links/> by relativizing the paths > whenever possible, or would it be simpler just to pass the original HREF > through unmodified? -- 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