kalayciburak opened a new pull request, #13093:
URL: https://github.com/apache/maven/pull/13093

   ## Summary
   
   `.mvn/maven.config` treated each line as a single argv token. That made 
`--define 'revision=1.0-SNAPSHOT'` an unrecognized option, while the same 
tokens on the CLI and `-Drevision=...` in the same file both worked.
   
   Each config line is now split on unquoted whitespace (quotes are stripped), 
matching how the shell tokenizes the equivalent CLI.
   
   ## Test Plan
   
   - `mvn -pl impl/maven-cli -Dtest=MavenParserTest,CommonsCliOptionsTest test` 
— 6/0
   - `mvn -pl compat/maven-embedder -Dtest=CleanArgumentTest,MavenCliTest test` 
— 51/0 (1 skipped)
   
   Fixes #13092


-- 
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]

Reply via email to