### Affected version 4.0.0 ### Bug description Maven 3.9.x: ``` ❯ ./mvnw -quiet help:evaluate -Dexpression=project.version -DforceStdout 478-SNAPSHOT ``` Maven 4.0.0: ``` ❯ ./mvnw -quiet help:evaluate -Dexpression=project.version -DforceStdout [INFO] [stdout] 478-SNAPSHOT ```
Activity
wendigo commentedon Oct 27, 2025
cc @cstamas @gnodet
cstamas commentedon Oct 27, 2025
Use --raw-streams options. In fact, latest 3.9 supports this option as well (as no op).
wendigo commentedon Oct 27, 2025
@cstamas is this intended behavior?
cstamas commentedon Oct 27, 2025
Yes
wendigo commentedon Oct 27, 2025
Ok, if this is a no-op on 3.9 I will just add it to these invocations and move on. Thanks!
cstamas commentedon Oct 27, 2025
Exactly that was the reason we added it (I think to 3.9.10+), so you are able to use same script with 3.9 and 4+
cstamas commentedon Oct 27, 2025
See #9565
Maven 4 compatibility - use `--raw-streams` option with `help:evaluat…