### Description Continuing on https://github.com/quarkusio/quarkus/pull/20849 The current implementation (👆) uses the shell java version to determine a compatible version (11 or 17 for now) in generated project. We need to add this as a parameter (11 or 17, default still being automatic based on shell java version) in the CLI and Maven plugin. ### Implementation ideas See comment https://github.com/quarkusio/quarkus/issues/21629#issuecomment-978917551