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

   ## Summary
   - Restores `--define` as the long option for `-D`, which was present in 
Maven 3.x but accidentally omitted during the Maven 4 CLI rewrite (CLIng)
   - Adds `.longOpt("define")` to the `-D` option builder in both the new CLI 
(`CommonsCliOptions`) and the compat layer (`CLIManager`)
   - Adds unit tests verifying both `-D` and `--define` work correctly
   
   ## Test plan
   - [x] New `CommonsCliOptionsTest` verifying `-Dfoo=bar`, `--define foo=bar`, 
and multiple `--define` options
   - [x] Module-specific tests pass (`mvn test -Dtest=CommonsCliOptionsTest`)
   - [x] Full reactor build passes (`mvn clean install -DskipTests`)
   - [ ] CI passes
   
   🤖 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]

Reply via email to