[
https://issues.apache.org/jira/browse/MPH-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise closed MPH-144.
-----------------------------------
Resolution: Done
Done in
[316656983d780c04031bbadd97d4ab245c84d014|https://gitbox.apache.org/repos/asf?p=maven-help-plugin.git;a=commitdiff;h=316656983d780c04031bbadd97d4ab245c84d014]
> Add ability to print mvn help:evaluate output to stdout in quiet mode
> ---------------------------------------------------------------------
>
> Key: MPH-144
> URL: https://issues.apache.org/jira/browse/MPH-144
> Project: Maven Help Plugin
> Issue Type: New Feature
> Components: evaluate
> Affects Versions: 3.0.1
> Reporter: Karl Heinz Marbaise
> Assignee: Karl Heinz Marbaise
> Priority: Minor
> Fix For: 3.1.0
>
>
> 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:
> {code}
> 0.2.0-SNAPSHOT
> {code}
> 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)}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)