vy commented on issue #4034: URL: https://github.com/apache/logging-log4j2/issues/4034#issuecomment-3907492940
@Vampire, I share your frustration. I'm tired of pushing fixes for annotation dependencies to every single release in the last 2 years or so. I hope somebody will eventually publish a Maven plugin that erases the given set of annotations at the post-packaging phase. Any takers? 😉 > So even if you do not agree that log4j should not work-around this Java compiler bug, please at least reconfigure it, so that only those artifacts declare the dependencies that actually have annotations of the respective dependency, or even only if they use enum constants from those libraries, as the annotations themselves are handled properly by the Java compiler, even with `-Werror`. I'd support such a direction. Would you mind contributing this change in a PR, please? -- 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]
