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

Benjamin Marwell updated MWRAPPER-113:
--------------------------------------
    Fix Version/s: 3.3.0

> Error and warning output goes to standard output and intermingles with Maven 
> output
> -----------------------------------------------------------------------------------
>
>                 Key: MWRAPPER-113
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-113
>             Project: Maven Wrapper
>          Issue Type: Bug
>          Components: Maven Wrapper Scripts
>    Affects Versions: 3.2.0, 3.3.0
>            Reporter: Ingo Karkat
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 3.3.0
>
>
> Errors and warnings from the wrapper should go to standard error, so that 
> those are also shown to the user when the regular Maven output is suppressed, 
> redirected into a file, or captured by a script.
> For the latter use case, separation is especially critical because otherwise 
> error output is mistakenly interpreted as desired Maven output (for example, 
> when obtaining the list of Maven project names in the reactor with {{mvnw 
> --quiet -Dexec.executable=echo 
> '-Dexec.args=${project.groupId}:${project.artifactId}' 
> org.codehaus.mojo:exec-maven-plugin:exec}}).
> The current wrapper scripts do this only inconsistently, and so warnings like 
> {{Warning: JAVA_HOME environment variable is not set.}} are printed to stdout 
> instead of stderr.
> Pull request: https://github.com/apache/maven-wrapper/pull/106



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to