goutamadwant opened a new pull request, #1684: URL: https://github.com/apache/maven-mvnd/pull/1684
Fixes #1680 ### Summary This prevents mvnd's `MAVEN_FILE` option detection from treating Maven fail-mode short options (`-fae`, `-ff`, `-fn`) as `-f` with an attached value. It keeps the existing supported `-f` and `--file` forms covered by tests, while allowing Maven's own parser to handle the fail-mode flags. ### Verification - Reproduced the regression with a focused `EnvironmentTest` assertion before the fix. - `./mvnw --batch-mode --no-transfer-progress -pl client -am -Dtest=EnvironmentTest -Dsurefire.failIfNoSpecifiedTests=false test` - `./mvnw --batch-mode --no-transfer-progress -pl common,client -am test` - `git diff --check` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
