gnodet opened a new pull request, #11824:
URL: https://github.com/apache/maven/pull/11824
## Summary
- Replace naive `String.split(" ")` with a proper argument parser that
handles single and double quoted strings, preserving backslashes for Windows
paths
- Applied to both `EmbeddedMavenExecutor` and `ForkedMavenExecutor`
- Added unit tests for both executors covering simple args, quoted paths,
empty input, and extra whitespace
Fixes #11487
## Test plan
- [x] Unit tests for `parseArguments()` method in both executor
implementations
- [ ] Manual test with `MAVEN_ARGS='-f "C:\Program Files\project\pom.xml"'`
on Windows
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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]