Michael Osipov opened MSHARED-1326 and commented
Based on a discussion with Alexander Kriegisch, there are few conceptional or documentational issues with the MavenReport interface:
#getOutputName() does not clearly say that is actually an optional base path and base name (base location) of the report item from a reporting output directory. It needs at least a doc update and maybe even a rename to #getOutputPath()/#getOutputPathLocation()?
- Both
#setReportOutputDirectory(File outputDirectory) and #getReportOutputDirectory() documentation imply that this directory solely refers to this single report, but that is not correct. It refers to root directory which contains all possibly generated reports. A shared directory, not exclusive one. Consider your report generates in a subdir, then these do not refer to it, but to its parent.
Affects: maven-reporting-impl-4.0.0-M11, maven-reporting-api-4.0.0-M8
Issue Links:
- DOXIASITETOOLS-319 Improve DocumentRenderer interface/DocumentRenderingContext class API
("causes")
- MSHARED-1327 Change default value of output directory in AbstractMavenReport
Remote Links:
Backported to: maven-reporting-impl-4.0.0-M12, maven-reporting-api-4.0.0
Michael Osipov opened MSHARED-1326 and commented
Based on a discussion with Alexander Kriegisch, there are few conceptional or documentational issues with the
MavenReportinterface:#getOutputName()does not clearly say that is actually an optional base path and base name (base location) of the report item from a reporting output directory. It needs at least a doc update and maybe even a rename to#getOutputPath()/#getOutputPathLocation()?#setReportOutputDirectory(File outputDirectory)and#getReportOutputDirectory()documentation imply that this directory solely refers to this single report, but that is not correct. It refers to root directory which contains all possibly generated reports. A shared directory, not exclusive one. Consider your report generates in a subdir, then these do not refer to it, but to its parent.Affects: maven-reporting-impl-4.0.0-M11, maven-reporting-api-4.0.0-M8
Issue Links:
("causes")
Remote Links:
Backported to: maven-reporting-impl-4.0.0-M12, maven-reporting-api-4.0.0