Please add any missing hints to this document!
See TC’s approved Officially Supported Technologies / Sunflower decision document document.
Help
Ask on #development Slack channel if a module doesn’t build on Java 21 and/or Spring Boot 3.4.
Jenkinsfile
In Jenkinsfile change the buildNode from java17 to java21:
...
Note: for this to work, be sure that the source/target versions are not overridden in the maven-compiler-plugin
configuration.
Mockito
See https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3 how to enable instrumentation of Mockito’s inline-mock-maker if it doesn’t work with Java 21.
Spring Boot
Upgrade the spring-boot-starter-parent version to the latest 3.4 version, find the version on https://github.com/spring-projects/spring-boot/tags
...