Fixing a couple small things having to do with reports that fork.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541999 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2007-05-27 16:47:09 +00:00
parent 7b5bac791a
commit ac5f47115b
1 changed files with 7 additions and 1 deletions

View File

@ -171,7 +171,7 @@ public class DefaultBuildPlanner
if ( pd != null )
{
findForkModifiers( reportBinding, pluginDescriptor, plan, project );
findForkModifiers( reportBinding, pd, plan, project );
}
}
}
@ -224,6 +224,12 @@ public class DefaultBuildPlanner
MojoDescriptor mojoDescriptor = pluginDescriptor.getMojo( referencingGoal );
if ( mojoDescriptor == null )
{
throw new LifecyclePlannerException( "Cannot find mojo descriptor for: " + referencingGoal + " in plugin: "
+ pluginDescriptor.getId() );
}
if ( mojoDescriptor.getExecuteGoal() != null )
{
recurseSingleMojoFork( mojoBinding, pluginDescriptor, plan, project );