slachiewicz commented on issue #92: URL: https://github.com/apache/maven-reporting-api/issues/92#issuecomment-6113218661
The throwing default would break reports that follow the deprecation and implement only `getOutputPath()`: released maven-site-plugin 3.22.0 (`AbstractSiteRenderingMojo` lines 376 and 554) and doxia-sitetools 2.1.0 (`DefaultSiteTool` line 1494) still call `report.getOutputName()`. Making either method abstract is a source break in a minor release. The override check in #93 keeps both directions working; I'd tighten it to `m.isDefault() && m.getDeclaringClass() == MavenReport.class` so a sub-interface that redeclares `getOutputName()` is not rejected, and reuse it for #91. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
