IQSS/12020 Payara7 Java21 update
What this PR does / why we need it: This PR updates Dataverse to be compatible with Payara 7.2025.2 and Java 21. Aside from the doc changes (payara6 -> payara7 etc.) the changes were relatively minor - a couple deprecated annotations we use (NotEmpty, NotBlank) were removed and replaced with new ones, and some of the EE related classes we mock in tests now have a few more methods that have to be overridden.
Which issue(s) this PR closes:
- Closes #12020
- Closes #11585
Special notes for your reviewer: Someone will need to check the Docker related compose files and documentation to make the relevant updates to Payara and Java. I tried to avoid updating things related to the Keycloak container since it shouldn't need to update to Java 21.
Suggestions on how to test this: Undeploy the current Dataverse, install Payara 7.2025.2 and Java 21, deploy this branch, regression test.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?: included.
Additional documentation: