mirror of https://github.com/apache/maven.git
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:
parent
b6d356acab
commit
fde34e8384
|
@ -385,7 +385,6 @@ public class DefaultLifecycleExecutor
|
||||||
|
|
||||||
private void populateMojoExecutionConfiguration( MavenProject project, MojoExecution mojoExecution )
|
private void populateMojoExecutionConfiguration( MavenProject project, MojoExecution mojoExecution )
|
||||||
{
|
{
|
||||||
//System.out.println( mojoExecution.getGoal() + " : executionid: " + mojoExecution.getExecutionId() );
|
|
||||||
|
|
||||||
String g = mojoExecution.getGroupId();
|
String g = mojoExecution.getGroupId();
|
||||||
|
|
||||||
|
@ -396,10 +395,6 @@ public class DefaultLifecycleExecutor
|
||||||
for ( PluginExecution e : p.getExecutions() )
|
for ( PluginExecution e : p.getExecutions() )
|
||||||
{
|
{
|
||||||
if ( mojoExecution.getExecutionId().equals( e.getId() ) )
|
if ( mojoExecution.getExecutionId().equals( e.getId() ) )
|
||||||
{
|
|
||||||
for ( String goal : e.getGoals() )
|
|
||||||
{
|
|
||||||
if ( mojoExecution.getGoal().equals( goal ) )
|
|
||||||
{
|
{
|
||||||
Xpp3Dom executionConfiguration = (Xpp3Dom) e.getConfiguration();
|
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
|
* Extracts the configuration for a single mojo from the specified execution configuration by discarding any
|
||||||
|
|
Loading…
Reference in New Issue