Skip to content

feat(mvn): detect legacy mvnw.bat wrapper #2029

Closed as not planned
Closed as not planned

Description

@vdufloth

src/cmds/jvm/mvn_cmd.rs::mvn_binary and new_mvn_command look for .\\mvnw.cmd on Windows but not mvnw.bat (the older wrapper Apache Maven Wrapper used to ship). Some legacy repos still have mvnw.bat only.

Fix: prefer mvnw.cmd, then mvnw.bat, then system mvn. ~5-line change in mvn_binary.

Tracked from PR #1956 follow-up list.

Activity

  1. vdufloth commented on May 21, 2026

    @vdufloth
    ContributorAuthor

    Closing — tracked inline in PR #1956's Out of scope section instead of in the tracker. Reopen if a maintainer prefers issues for these.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions