From b6d356acabd5a55cba41879dc3f275a29133fdd8 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Thu, 21 May 2009 16:25:27 +0000 Subject: [PATCH] o Removed dead code git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777167 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/lifecycle/DefaultLifecycleExecutor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java index 439267ef8c..a775ce5863 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java @@ -305,8 +305,6 @@ public class DefaultLifecycleExecutor { for ( String goal : execution.getGoals() ) { - String s = plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion() + ":" + goal; - if ( phaseToMojoMapping.get( execution.getPhase() ) == null ) { // This is happening because executions in the POM are getting mixed into the clean lifecycle @@ -325,7 +323,6 @@ public class DefaultLifecycleExecutor { for ( String goal : execution.getGoals() ) { - String s = plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion() + ":" + goal; MojoDescriptor mojoDescriptor = pluginManager.getMojoDescriptor( plugin, goal, session.getLocalRepository(), project.getRemoteArtifactRepositories() ); if ( mojoDescriptor.getPhase() != null && phaseToMojoMapping.get( mojoDescriptor.getPhase() ) != null )