You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/04/25 06:43:00 UTC

[jira] [Closed] (MSITE-952) MultiPageSinkFactory does not strip output name for extension

     [ https://issues.apache.org/jira/browse/MSITE-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSITE-952.
--------------------------------
    Resolution: Fixed

Fixed with [6836dee354abcb2df19d049f78e1b9c0e069cbf4|https://gitbox.apache.org/repos/asf?p=maven-site-plugin.git;a=commit;h=6836dee354abcb2df19d049f78e1b9c0e069cbf4].

> MultiPageSinkFactory does not strip output name for extension
> -------------------------------------------------------------
>
>                 Key: MSITE-952
>                 URL: https://issues.apache.org/jira/browse/MSITE-952
>             Project: Maven Site Plugin
>          Issue Type: Bug
>    Affects Versions: 4.0.0-M7
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 4.0.0-M8
>
>
> If a report creates subpages, thus needs subsinks, it passes a desired output name. This one is passed to {{DocumentRenderingContext#document}}. Since we know that this is a report output, this value must behave like {{MavenReport#getOutputName()}}, thus be a symbolic name. Therefore, we must strip the extension since none is passed to have it stripped by the context internally.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)