Restoring fail-fast as a default reactor behavior.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@523137 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2007-03-28 01:47:28 +00:00
parent d1c52a0843
commit a48bbdc0c8
2 changed files with 10 additions and 2 deletions

View File

@ -58,7 +58,14 @@ public class ReactorManager
{
this.sorter = new ProjectSorter( projects );
this.failureBehavior = failureBehavior;
if ( failureBehavior == null )
{
this.failureBehavior = FAIL_FAST;
}
else
{
this.failureBehavior = failureBehavior;
}
}
public Map getPluginContext( PluginDescriptor plugin, MavenProject project )

View File

@ -174,7 +174,8 @@ public class MavenCli
boolean recursive = true;
String reactorFailureBehaviour = null;
// this is the default behavior.
String reactorFailureBehaviour = MavenExecutionRequest.REACTOR_FAIL_FAST;
if ( commandLine.hasOption( CLIManager.NON_RECURSIVE ) )
{