CXF-9183 Java 21+ required to build CXF after CXF-8828: Support Jakarta EE 11
https://issues.apache.org/jira/browse/CXF-9183
The CI failure does not seem to be related to this PR. @ffang or anybody else, could you please restart the failing job?
@ppalaga I normally just rebase PRs to re-start the jobs. One thing I noticed locally with jDK17 is that Derby as a test dependency in cxf-rt-ws-rm needs JDK 21, so we'll need to update surefire for that module to only run certain tests depending on the JDK version
@ppalaga the change to use JDK-21 is intentional, see please [1] for discussion here, the original plan for 4.2.x (main) was to be on JDK-21 baseline.
[1] https://lists.apache.org/thread/8q8jrgdkgqys4fhgwyxsj2hjt171m114
Following up on the possible options, I think we could cleanly support 17 and 21, @ppalaga do you mind if I push a change to your pull request? (or I could open a separate one, but you did a good chunk of work here, thank you)
Fixed by https://github.com/apache/cxf/pull/2754
@reta I apologize, I got distracted by other tasks. Thanks a lot, #2754 works great, our jobs testing against main are all green again!