[
http://jira.codehaus.org/browse/MSITE-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95508
]
Dennis Lundberg commented on MSITE-229:
---------------------------------------
This happens because the site plugin tries to make all URLs relative, when
possible. I think that you have something like this defined in the pom.xml for
this project:
<url>http://sirdsite.dsths.ad.dstcorp.net/x/y/z/</url>
where x, y and z are some directory names.
> Links in site.xml get translated to ../../../
> ---------------------------------------------
>
> Key: MSITE-229
> URL: http://jira.codehaus.org/browse/MSITE-229
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-5
> Environment: Linux FC6 Sun Java (build 1.5.0_10-b03, mixed mode,
> sharing)
> Reporter: Mykel Alvis
> Priority: Minor
> Attachments: site.xml
>
>
> In Site.xml for a project (that has a parent POM)
> <links>
> <item name="SIRD Site" href="http://sirdsite.dsths.ad.dstcorp.net/" />
> <item name="Apache" href="http://www.apache.org/" />
> <item name="Maven 2" href="http://maven.apache.org/maven2/"/>
> </links>
> Gets rendered as
>
> <div class="xright"> <a href="../../../">SIRD Site</a>
> |
> <a href="http://www.apache.org/">Apache</a>
> |
> <a href="http://maven.apache.org/maven2/">Maven 2</a>
>
> " http://sirdsite.dsths.ad.dstcorp.net/" != "../../.."
--
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