+1 and I love the idea!

(Am on phone only, so cannot review for a few more days)

On Wed, Jul 23, 2025, 20:46 Guillaume Nodet <gno...@apache.org> wrote:

> Hi Maven team,
>
> I'd like to request a review for a new Maven Wrapper enhancement that adds
> automatic JDK download capabilities.
>
> PR Details:  https://github.com/apache/maven-wrapper/pull/337
>
> This enhancement integrates the Foojay Disco API to automatically download
> and install JDKs when they're not available locally. This is an opt-in
> feature - existing wrapper behavior remains unchanged unless users
> explicitly configure JDK properties.
>
> Key Features:
>
>    - Opt-in only: No behavior change for existing projects
>    - Automatic JDK download using Foojay Disco API
>    - Support for major versions (e.g., jdk=17) and specific versions
>    - Cross-platform compatibility (Linux, macOS, Windows)
>
> Example Usage:
>
> # In .mvn/wrapper/maven-wrapper.properties
> maven=3.9.6
> jdk=17
> jdk_distro=temurin
>
>
> The implementation would significantly improve the Maven Wrapper user
> experience by eliminating manual JDK setup steps for teams that choose to
> use it.
>
> Looking forward to your feedback!
>
> Best regards,
> Guillaume Nodet
>

Reply via email to