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 17:48:00 UTC

[jira] [Created] (MSITE-951) Don't abuse report's symbolic output name as filename

Michael Osipov created MSITE-951:
------------------------------------

             Summary: Don't abuse report's symbolic output name as filename
                 Key: MSITE-951
                 URL: https://issues.apache.org/jira/browse/MSITE-951
             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


{{MavenReport#getOutputName()}} represents a symbolic name indepent of an output format. It is up to the current sink to create one. It must not be assumed that this value represents a file or an HTML file. This can only be done within the {{SiteRendererSink}} context. The other problem is that the symbolic name is used to key on pre-existing documents which are filenames thus it may happen that the report may overwrite a handwritten document.



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