o get rid of extraneous goal matching

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777171 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-05-21 16:46:19 +00:00
parent b6d356acab
commit fde34e8384
1 changed files with 3 additions and 10 deletions

View File

@ -385,7 +385,6 @@ public class DefaultLifecycleExecutor
private void populateMojoExecutionConfiguration( MavenProject project, MojoExecution mojoExecution )
{
//System.out.println( mojoExecution.getGoal() + " : executionid: " + mojoExecution.getExecutionId() );
String g = mojoExecution.getGroupId();
@ -396,10 +395,6 @@ public class DefaultLifecycleExecutor
for ( PluginExecution e : p.getExecutions() )
{
if ( mojoExecution.getExecutionId().equals( e.getId() ) )
{
for ( String goal : e.getGoals() )
{
if ( mojoExecution.getGoal().equals( goal ) )
{
Xpp3Dom executionConfiguration = (Xpp3Dom) e.getConfiguration();
@ -409,8 +404,6 @@ public class DefaultLifecycleExecutor
}
}
}
}
}
/**
* Extracts the configuration for a single mojo from the specified execution configuration by discarding any