mirror of https://github.com/apache/maven.git
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:
parent
7b5bac791a
commit
ac5f47115b
|
@ -171,7 +171,7 @@ public class DefaultBuildPlanner
|
||||||
|
|
||||||
if ( pd != null )
|
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 );
|
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 )
|
if ( mojoDescriptor.getExecuteGoal() != null )
|
||||||
{
|
{
|
||||||
recurseSingleMojoFork( mojoBinding, pluginDescriptor, plan, project );
|
recurseSingleMojoFork( mojoBinding, pluginDescriptor, plan, project );
|
||||||
|
|
Loading…
Reference in New Issue