Skip to content

forceStdout and -q prints more than expected in Maven 4.0.0-rc6 #410

Description

@khmarbaise

Affected version

3.5.2

Bug description

If you use maven-help-plugin in combination with maven-4.0.0-rc-6 for example to get information about the maven.compiler.release property:

$> RESULT=$(mvn help:evaluate -Dexpression=maven.compiler.release -q -DforceStdout)
$> echo $RESULT
[INFO] [stdout] 23

That means the the expected value of RESULT should be 23 (With Maven3) but with Maven 4.0.0-rc-6 is [INFO] [stdout] 23 which beaks scripting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions