Description
Currently if you use mvn help:evaluate -Dexpression=project.groupId there are printed out some lines like [INFO] ...]]. If you use mvn help:evaluate -Dexpression=project.groupId -q you won't get anything printed out at all.
It would be a good idea to have an output via a supplemental parameter like this:
mvn help:evaluate -Dexpression=project.groupId -DforceStdout=true -q to get printed out the information like this only:
0.2.0-SNAPSHOT
this would give the opportunity to use the call within scripts without filtering out things like [INFO]... etc.
This would work like this:
RESULT=$(mvn help:evaluate -Dexpression=project.groupId -DforceStdout=true -q)