Le mardi 6 juin 2023, 01:54:27 CEST Henning Schmiedehausen a écrit : > To get this discussion a bit more back to actual substance: > > Do you still need toolchains with JDK 11/17? I set the release version to > "8" (or anything else) in my builds, ripped out all the toolchains and it > "just works". We have done this for Jdbi for ages (require Java 11+ as the > build JDK; we even enforce "latest LTS" for releases) and compile to Java 8 > bytecode. So far, we had zero complaints from users that the resulting > releases do not work / cause problems on JDK 8. > > It seems to me that toolchains are only relevant if you need to compile to > Java 1.6 or lower (shudder). The current LTS supports any version post-7 as > release target. > > Am I missing something? Yes: you are perfectly describing compiling the missed part is unit-tests and *-tests execution = when they target Java 8 bytecode, people want to execute tests against JDK 8
Regards, Hervé --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org