+1

Very nice feature for users.

> On Jul 23, 2025, at 2:46 PM, 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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to