You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2018/11/07 20:24:01 UTC

[jira] [Closed] (MPH-154) The output of the plugin should be flushed when using forceStdout

     [ https://issues.apache.org/jira/browse/MPH-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MPH-154.
------------------------------
       Resolution: Fixed
         Assignee: Robert Scholte
    Fix Version/s: 3.1.1

Fixed in [26224aa40d6a8dcd383ecdb823d1a60d1bb9b485|https://gitbox.apache.org/repos/asf?p=maven-help-plugin.git;a=commit;h=26224aa40d6a8dcd383ecdb823d1a60d1bb9b485]

> The output of the plugin should be flushed when using forceStdout
> -----------------------------------------------------------------
>
>                 Key: MPH-154
>                 URL: https://issues.apache.org/jira/browse/MPH-154
>             Project: Maven Help Plugin
>          Issue Type: Improvement
>            Reporter: Patrick van Rhijn
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.1.1
>
>
> When you use the plugin the output doesn't contain a line-ending making the output hard to use in scripting when you have JAVA_OPTIONS defined.
> In the current situation the plugin gives me the following output: 
> $ mvn -N -q org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression='project.groupId' -DforceStdout=true
> *nl.foo.barPicked up _JAVA_OPTIONS: -XX:+ForceTimeHighResolution -Dsun.java2d.noddraw=true -Duser.timezone='Europe/Amsterdam'*
> It would be better if the output would be divided over two lines and look like the output of the exec-maven-plugin:
> $ mvn -N -q -Dexec.executable='echo' -Dexec.args='${project.groupId}' org.codehaus.mojo:exec-maven-plugin:1.4.0:exec
> *nl.foo.bar*
> *Picked up _JAVA_OPTIONS: -XX:+ForceTimeHighResolution -Dsun.java2d.noddraw=true -Duser.timezone='Europe/Amsterdam'*
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)