public static LifecycleExecutionPlanCalculator createExecutionPlaceCalculator(
MojoDescriptorCreator mojoDescriptorCreator )
{
LifecyclePluginResolver lifecyclePluginResolver =
new LifecyclePluginResolver( new PluginVersionResolverStub() );
return new DefaultLifecycleExecutionPlanCalculator( new BuildPluginManagerStub(),
DefaultLifecyclesStub.createDefaultLifecycles(),
mojoDescriptorCreator, lifecyclePluginResolver,
DefaultSchedulesStub.createDefaultSchedules() );
}