Jiehong opened a new issue, #12868: URL: https://github.com/apache/maven/issues/12868
### Affected version 4.0.0-rc5 ### Bug description Hello, Under maven 3.9.16, `--define` is the long version of `-D`, but as of maven 4.0.0-rc5, it's no longer defined: ```shell # maven 3.9.16: both lines are valid, and work mvn help:evaluate -D 'expression=project.name' -q -D 'forceStdout' mvn help:evaluate --define 'expression=project.name' -q --define 'forceStdout' # <- only fails on 4.0.0-rc5 ``` I didn't try other RCs, but I discovered this when trying to build our project with maven 4. Long options are used quite a bit (random example: https://github.com/thomhurst/ModularPipelines/blob/74daf6ad932d5ecdcbec0dcc7924be70ea500b32/docs/docs/mp-packages/java.md?plain=1#L38) -- 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]
