Our release workflow depends on the unleash-maven-plugin which requires Java 11.
We have set certain steps in the CI to run on Java 11, whereas the compilation etc. is currently on Java 21.
When we switch to a newer Java release - and this is getting more and more important -, we run into issues:
#1540
#1475
A possible solution is to migrate to a different version of the unleash plugin, which is maintained and supports Java 21:
#1475 (comment)
Therefore, we need to touch the super-pom, as mentioned here:
openhab/static-code-analysis#494 (comment)
A non-invasive approach is desired, i.e. for a transition phase, both the old plugin and the new plugin should be usable for the releases. This could for example be done using profiles (depending on the Java version),
Our release workflow depends on the unleash-maven-plugin which requires Java 11.
We have set certain steps in the CI to run on Java 11, whereas the compilation etc. is currently on Java 21.
When we switch to a newer Java release - and this is getting more and more important -, we run into issues:
#1540
#1475
A possible solution is to migrate to a different version of the unleash plugin, which is maintained and supports Java 21:
#1475 (comment)
Therefore, we need to touch the super-pom, as mentioned here:
openhab/static-code-analysis#494 (comment)
A non-invasive approach is desired, i.e. for a transition phase, both the old plugin and the new plugin should be usable for the releases. This could for example be done using profiles (depending on the Java version),