Hi,I'm a bit confused on the minimum required Java version for pluginsI maintain the https://github.com/jenkinsci/flyway-api-plugin which is an API plugin for flyway dependencies.Since flyway 10 Java 17 is required.
I open a PR https://github.com/jenkinsci/flyway-api-plugin/pull/9/filesAnd changing the
<maven.compiler.release>17</maven.compiler.release> <maven.compiler.testRelease>17</maven.compiler.testRelease>And tested using bom the plugin against known consumer. No issue foundHowever is looks I cannot release the plugin https://github.com/jenkinsci/flyway-api-plugin/actions/runs/8858031719/job/24326194647 due to JDK11 used on CD.
- Is it expected ?
- Does this mean the plugin need a Java 17 runtime or only for compile ?
- Show I rollback until the toolchain is adapted for Java 17 ?
At least it makes sense to rise an issue for the CD toolchain so this problem will not be forgotten when we switch to Java 17 in September.