Skip to content

[MWRAPPER-159] GHA: Shellcheck: POSIX conformity / shellcheck fails #304

Description

@jira-importer

Matthias Bünger opened MWRAPPER-159 and commented

The GHAction step "Shellcheck: POSIX conformity / shellcheck" build of Maven Wrapper fails with the following message:

/home/runner/work/maven-wrapper/maven-wrapper/maven-wrapper-distribution/src/resources/mvnw:244:12: note: Double quote to prevent globbing and word splitting. [SC2086]
/home/runner/work/maven-wrapper/maven-wrapper/maven-wrapper-distribution/src/resources/mvnw:246:12: note: Double quote to prevent globbing and word splitting. [SC2086]
/home/runner/work/maven-wrapper/maven-wrapper/maven-wrapper-distribution/src/resources/mvnw:252:12: note: Double quote to prevent globbing and word splitting. [SC2086]
/home/runner/work/maven-wrapper/maven-wrapper/maven-wrapper-distribution/src/resources/mvnw:254:12: note: Double quote to prevent globbing and word splitting. [SC2086]
Error: Process completed with exit code 1.

Mentioned lines are all wget or curl lines.

Example failed run:
https://github.com/apache/maven-wrapper/actions/runs/13271112280/job/37115462259?pr=163


Affects: 3.3.3

Remote Links:

Activity

  1. jira-importer commented on May 30, 2025

    @jira-importer
    Author

    Montu Sharma commented

    Fix for this issue have been covered in this PR -  #168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions