[ https://jira.codehaus.org/browse/MNG-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=340850#comment-340850 ]
Robert Scholte commented on MNG-5574: ------------------------------------- right. AFAIK for Windows JAVA_HOME is required, there's no discovery of the java executable, so Maven will exit with an error. IIRC the shell script has a way to discover the java executable. Maven will run, so it should just be a warning. > Write error/warning messages from mvn shell and batch scripts to stderr > ----------------------------------------------------------------------- > > Key: MNG-5574 > URL: https://jira.codehaus.org/browse/MNG-5574 > Project: Maven 2 & 3 > Issue Type: Improvement > Components: Command Line > Affects Versions: 3.1.1 > Reporter: Michael Osipov > Assignee: Michael Osipov > Priority: Minor > Fix For: 3.2 > > > If I disable stdout on {{mvn}} and {{JAVA_HOME}} is not set in cron env, I'll > never see the error message. -- This message was sent by Atlassian JIRA (v6.1.6#6162)