I'm currently investigating into Java 21 compatibility in Jenkins core and tooling, and stumbled apart issues related to metainf-services.
I'm unable to isolate it, but modern maven got stricter in various areas, and I'm able to get a green build with the changes proposed. Therefore, I gave it a shot \o/
I hope you don't mind bumping the minimum Java version to 8, modern maven doesn't support anything older.
Hey @kohsuke,
I'm currently investigating into Java 21 compatibility in Jenkins core and tooling, and stumbled apart issues related to metainf-services. I'm unable to isolate it, but modern maven got stricter in various areas, and I'm able to get a green build with the changes proposed. Therefore, I gave it a shot \o/
I hope you don't mind bumping the minimum Java version to 8, modern maven doesn't support anything older.