[ http://jira.codehaus.org/browse/MSITE-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl closed MSITE-468. ------------------------------- Resolution: Duplicate Assignee: Lukas Theussl See MSITE-159 and http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why_do_my_absolute_links_get_translated_into_relative_links > Absolute links item href's are stripped to become relative > ---------------------------------------------------------- > > Key: MSITE-468 > URL: http://jira.codehaus.org/browse/MSITE-468 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Components: relative links > Affects Versions: 2.0.1 > Reporter: Andrew Hughes > Assignee: Lukas Theussl > > When I add the follwing to site.xml: > {noformat} > <links> > <item name="BLAH" href="http://xyz.com/blah"/> > </links> > {noformat} > The generated html output is: > {noformat} > <a href="blah">BLAH</a> > {noformat} > This is wrong, if I stipulate "http://*" this should be an external (and > absolute link), the generated html should have an absolute href url, like > this: > {noformat} > <a href="http://xyz.com/blah">BLAH</a> > {noformat} > The conditions when this relative href translation occurs is when I have > have ${project.url}=="http://xyz.com" in my pom.xml, like this: > {noformat} > <project> > ... > <url>http://xyz.com</url> > ... > </project> > {noformat} -- 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