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/15 18:07:00 UTC

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

Michael Osipov created MSITE-952:
------------------------------------

             Summary: 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
             Fix For: 4.0.0-M8


If a report creates subpages, thus needs subsinks, it passes a desired output. 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.



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