[ 
https://jira.codehaus.org/browse/MNG-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338398#comment-338398
 ] 

Robert Scholte commented on MNG-5342:
-------------------------------------

There are probably other lazy users who'd like to change the logging to debug 
or quiet by default or want to start with version info. So just the {{-fae}} is 
not the solution. One possible solution could be an environment variable like 
MAVEN_DEFAULT_ARGS. 
However, I'd prefer that users know what they are doing to prevent the "it 
works on my machine"-discussion between team members due to this option.
Anyhow, if you really need it now, just change the mvn batchfile.

{noformat:title=mvn.bat}
...
%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% 
"-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" 
%CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS% %MAVEN_DEFAULT_ARGS%
...
{noformat}
                
> Please expose --fail-at-end as a property
> -----------------------------------------
>
>                 Key: MNG-5342
>                 URL: https://jira.codehaus.org/browse/MNG-5342
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 3.0.4
>            Reporter: Dave Henderson
>            Priority: Minor
>
> It would be useful to be able to set -fae/--fail-at-end through a system 
> property, to simplify maven runs for development teams who would prefer the 
> reactor to do as much as possible (especially in terms of running unit tests) 
> before finishing.
> Note that the maven.test.failure.ignore property is close to this, but 
> ignores failures instead of simply continuing despite failures (ending up 
> with an incorrect status at the end of the run).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to