Conversation
a66947c to
823c60c
Compare
Previous version was not compatible with JDK21, see kamon-io/kanela#150.
This will make it easier to control which version of maven is used to build eclair, which in turns makes deterministic builds easier, as well as using recent compiler options (to target newer JDKs for example). For example, even recent versions of Github runner images use an old verion of maven and there is no easy way to upgrade.
We now use multiarch (amd64/arm64) base images.
Eclair now targets Java 21 and will require a compatible Java Runtime Environment. It will no longer work on JRE 11 and JRE 17.
58cd6d7 to
dc82525
Compare
|
Our test and production images have been updated and this PR is now safe to merge. |
07aaf76 to
5dc600d
Compare
pm47
left a comment
There was a problem hiding this comment.
LGTM, I think this can be merged, will deploy ASAP to endurance.
|
On Windows building requires adding: <properties>
...
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<properties>Otherwise I get: |
|
I tested this PR on windows (11) and macos without issues. Are you using the maven wrapper ( |
|
I was using my locally installed maven. Indeed it does work with |
|
I see the same "source option 5..." error and needed to add those lines to pom.xml t fix it. I'm using Ubuntu 22.04.5 LTS and Temurin-21.0.5+11 when I do |
We've also switched to using the maven wrapper ( |
|
Thanks - that fixed it. I thought I needed to install mvnw, but I was just missing the ./ in front of it. |
These are small, non-functional changes that are needed to target Java 21. The only real issue was the kanela agent, the version we used is not compatible with JDK21.
Eclair will require a Java runtime that is compatible with Java 21 and will no longer run on JRE 11 or JRE 17: DO NOT MERGE this PR until production environments have been updated with a Java 21 compatible JRE !!