← Back to issue list

ant, maven and gradle plugins: use correct defaults for jre

View original Github issue

Metadata

Project
snapcraft
Number
#2453
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2453 (commit 41facca0a) fixed Ant, Maven, and Gradle JRE defaults, corrected OpenJDK path globbing, covered core16/core18, and removed the core19 typo.

Resolution: closed resolved

Reason: PR #2453 was merged as commit 41facca0a, resolving incorrect Java defaults and core-base references in the three plugins.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Ensure that the expected java version is properly set when the default openjdk option is used so that the globbing mechanism can format the path to the java binary correctly. Also ensure that the sytem works end to end for core16 and core18, removing the typo of core19 which was supposed to be core16. LP: #1813637 LP: #1813636 Fixes SNAPCRAFT-D1 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2453 (commit 41facca0a) fixed Ant, Maven, and Gradle JRE defaults, corrected OpenJDK path globbing, covered core16/core18, and removed the core19 typo.
stealth/space-bunny-alpha — closed resolved Merged PR #2453 (41facca0a) fixed Ant, Maven, and Gradle JRE defaults, corrected openjdk path globbing, supported core16/core18, and removed the core19 typo.
qwen/qwen3.6-35b-a3b — — Merged fix updating ant, maven, and gradle plugins to use correct JRE defaults. Corrects openjdk path formatting, ensures end-to-end functionality for core16 and core18, and fixes a core19 typo. Approved by reviewers and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged update to ant, maven, and gradle plugins ensuring correct openjdk JRE defaults. Fixes Java path globbing, resolves core16 and core18 end-to-end build issues, and corrects a core19 typo. Approved and merged.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft (launchpad)#1813636 (confidence 98%)

    The PR explicitly targets this Launchpad bug concerning erroneous core19 references.

  • Likely Fixed By: snapcraft (launchpad)#1813637 (confidence 95%)

    The PR description links this Launchpad bug as another defect addressed by the JRE default fix.

Related issues

Issue Project State Summary Similarity
#1813636 ant maven and gradle plugins referene mysterious core19 snapcraft (launchpad) closed Resolved by merged PR #2453 (commit 41facca0a), correcting JRE defaults and removing erroneous core19 references from the Ant, Maven, and Gradle plugins.
85%
#56 Add the JRE instead of the JDK when using java based plugins snapcraft closed Java plugins later adopted correct JRE defaults for Ant, Maven, and Gradle in PR #2453, merged as commit 41facca0a.
80%
#1813637 maven plugin crashes with base core18 snapcraft (launchpad) closed Fixed by snapcore/snapcraft#2453, merged as commit 41facca0a, correcting JRE defaults for Ant, Maven, and Gradle plugins.
73%