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:
John Dennis Casey 2007-05-26 23:47:59 +00:00
parent 008d6943bc
commit e58f2094ab
2 changed files with 4 additions and 4 deletions

View File

@ -256,14 +256,14 @@ public class BuildPlan
{
bindings.add( StateManagementUtils.createStartForkedExecutionMojoBinding() );
bindings.addAll( forkedBindings );
bindings.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
bindings.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
}
bindings.add( mojoBinding );
if ( !forkedBindings.isEmpty() )
{
bindings.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
bindings.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
}
}
else

View File

@ -45,7 +45,7 @@ public class BuildPlanTest
check.add( mb );
check.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
check.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
binding.getGenerateSources().addBinding( mb );
@ -62,7 +62,7 @@ public class BuildPlanTest
check.add( eclipseBinding );
check.add( StateManagementUtils.createEndForkedExecutionMojoBinding() );
check.add( StateManagementUtils.createClearForkedExecutionMojoBinding() );
BuildPlan plan = new BuildPlan( new LifecycleBindings(), tasks );