mirror of https://github.com/apache/maven.git
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:
parent
d1c52a0843
commit
a48bbdc0c8
|
@ -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 )
|
||||
|
|
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue