mirror of https://github.com/apache/maven.git
Fixing it0027...I had end-fork and clear-fork-context mixed up.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
008d6943bc
commit
e58f2094ab
|
@ -256,14 +256,14 @@ public class BuildPlan
|
||||||
{
|
{
|
||||||
bindings.add( StateManagementUtils.createStartForkedExecutionMojoBinding() );
|
bindings.add( StateManagementUtils.createStartForkedExecutionMojoBinding() );
|
||||||
bindings.addAll( forkedBindings );
|
bindings.addAll( forkedBindings );
|
||||||
bindings.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
|
bindings.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
|
||||||
}
|
}
|
||||||
|
|
||||||
bindings.add( mojoBinding );
|
bindings.add( mojoBinding );
|
||||||
|
|
||||||
if ( !forkedBindings.isEmpty() )
|
if ( !forkedBindings.isEmpty() )
|
||||||
{
|
{
|
||||||
bindings.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
|
bindings.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class BuildPlanTest
|
||||||
|
|
||||||
check.add( mb );
|
check.add( mb );
|
||||||
|
|
||||||
check.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
|
check.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
|
||||||
|
|
||||||
binding.getGenerateSources().addBinding( mb );
|
binding.getGenerateSources().addBinding( mb );
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ public class BuildPlanTest
|
||||||
|
|
||||||
check.add( eclipseBinding );
|
check.add( eclipseBinding );
|
||||||
|
|
||||||
check.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
|
check.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
|
||||||
|
|
||||||
BuildPlan plan = new BuildPlan( new LifecycleBindings(), tasks );
|
BuildPlan plan = new BuildPlan( new LifecycleBindings(), tasks );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue