maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schulte (JIRA)" <j...@codehaus.org>
Subject [jira] (MSITE-659) 'relativizeDecorationLinks' relativizes too much.
Date Sun, 14 Oct 2012 13:59:36 GMT

    [ https://jira.codehaus.org/browse/MSITE-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311442#comment-311442
] 

Christian Schulte commented on MSITE-659:
-----------------------------------------

Put another way. Specifying relative links in the decoration model, inheriting them as absolute
is not possible. Specifying absolute links in the decoration model, using 'relativizeDecorationLinks'
is not possible since that will relativize at the 'child' level in a way links will not work
when browsing that site locally (unzipped jar). Building a site for deployment and building
a site for browsing locally (unzipped jar) would need to be handled differently to get this
working. Let the jar goal update links in a way compatible with local browsing ('absolutizeDecorationLinks')
and let the site goal update links in a way compatible with online browsing (already implemented).

                
> 'relativizeDecorationLinks' relativizes too much.
> -------------------------------------------------
>
>                 Key: MSITE-659
>                 URL: https://jira.codehaus.org/browse/MSITE-659
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: relative links
>    Affects Versions: 3.1
>            Reporter: Christian Schulte
>         Attachments: MSITE-659-absolute.zip, MSITE-659.zip, MSITE-659.zip
>
>
> When relativizing links, the plugin produces relative links to content not generated
by the plugin which should be kept absolute.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message