This uses the script-based version to support MAVEN_ARGS env variable used in Keycloak CI. Closes #23047