Describe the issue
#6302 introduced a new version scheme for GraalVM and changed the output of native-image --version
An issue with this change is that Version.getCurrent(), which AFAIK is public API still returns 23.0.1 instead of 17.0.7+4.1. So tools and frameworks are expected to be able to understand both and somehow map one to the other, since pre-build they might rely on the output of native-image --version but at build-time they might use Version.getCurrent().
cc @jerboaa @fniephaus