You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/10/11 23:02:47 UTC
[PR] Make getOutputName() abstract again [maven-reporting-api]
slachiewicz opened a new pull request, #95:
URL: https://github.com/apache/maven-reporting-api/pull/95
Fixes #92 by reverting #72. With both `getOutputPath()` and `getOutputName()` as default methods that call each other, a report that implements neither compiles and fails with `StackOverflowError` at runtime. `getOutputName()` is abstract again, as in 4.0.0, so the compiler catches a report that implements neither. #72 was never released, so this is no change from 4.0.0 for existing reports.
This is an alternative to #93, which keeps both defaults and fails at runtime with `UnsupportedOperationException`. A default shipped in 4.1.0 could not be taken back without breaking reports that stop implementing `getOutputName()`, so this keeps that option open until the method is removed in a major release.
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Make getOutputName() abstract again [maven-reporting-api]
Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on PR #95:
URL: https://github.com/apache/maven-reporting-api/pull/95#issuecomment-6131637087
@slachiewicz @elharo how we can drop deprecated method from reporting plugins?
Each plugin still need to implement deprecated method.
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Make getOutputName() abstract again [maven-reporting-api]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #95:
URL: https://github.com/apache/maven-reporting-api/pull/95
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org