SONARJAVA-6276 Use mise action to install Maven if needed#138
SONARJAVA-6276 Use mise action to install Maven if needed#138tomasz-tylenda-sonarsource merged 2 commits intomasterfrom
Conversation
SummaryThis PR ensures Maven is installed when using the What reviewers should knowKey changes in action.yml:
Review notes:
|
nils-werner-sonarsource
left a comment
There was a problem hiding this comment.
LGTM! Have a look at the comment of the review bot. I think it's a valid point to inform why the run crashes because mise.toml is not available in the repository you are running on.
|
Added and tested: https://github.com/SonarSource/sonar-java/actions/runs/24883394793/job/72857275953#step:3:94 |
There was a problem hiding this comment.
LGTM! ✅
The new commit resolves the missing-guard concern — mise.toml absence is now caught early with a clear error. One previously flagged issue is still open: the README documents the new requirement but does not mention that existing callers using tool: maven need to add mise.toml before upgrading. No new issues in this commit.



Tested on a modified workflow in sonar-java: