WW-5533 Add compilation support for Jakarta EE 11 #1233
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WW-5533
This PR adds an additional build job which ensures compilation compatibility with the upcoming Jakarta EE 11 and Spring 7. It ensures we do not make any code changes which may break forwards compatibility with those releases (e.g. using an API which no longer exists in Jakarta EE 11 or Spring 7).
By using a profile, we can continue to compile against both Jakarta EE 10 and 11, avoiding the need for separate release branches for as long as practical.
This change does NOT ensure compatibility with Tomcat 11.0. That will likely require a follow-up change where we update our Showcase app to use Tomcat 10.1 (and override to 11.0 when the Jakarta EE 11 profile is activated).
Open to feedback on this approach