maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Theussl <ltheu...@apache.org>
Subject Re: site.xml absolute href are replaced by relative path.
Date Wed, 05 Dec 2007 13:05:26 GMT
Maybe related to faq #2: 
http://maven.apache.org/plugins/maven-site-plugin/faq.html ?

HTH,
-Lukas


Yann Davin wrote:
> Hi, all
> 
> There is a behavior of maven that I don't understand.
> If I put a non relative href for menu item of the site.xml file, like this :
> <menu name="test-menu">
>       <item name="Fractal Homepage" href="http://test-url.com/" />
> </menu>
> 
> I don't know why, when I generate the site (mvn site),
> the href is replaced by the relative path "../../../".
> 
> Is it possible, and if yes how can I put external item with external href
> in the menu section and display it correcly on the pages generated 
> during the mvn site phase ?
> 
> (ps: I don't want to use the site:stage)
> 
> Thanks.
> 
> Yann

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message