Skip to content

Strict version mode #11

@mfussenegger

Description

@mfussenegger

Thanks for the great plugin, we're using it in CrateDB and it works great, but with the recent JDK 21.0.2 release we noticed that the toolchains plugin pulls the latest version, despite us having set the version to 21.0.1 and 21.0.2 had a regression that caused our tests to fail.

I assume this is intentional, due to the latest=overall option in the foojay API call:

+ "&latest=overall&package_type=jdk&discovery_scope_id=directly_downloadable&match=any&javafx_bundled=false&directly_downloadable=true&release_status=ga";

Would it be possible to add an option that results in latest=overall not getting set, to have strict version matching? This would allow for reproducable builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions