From 8c7eb1b0368939532c278b8d15a6ed2ede1f0486 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Wed, 19 Aug 2009 09:31:23 +0000 Subject: [PATCH] o Removed superfluous code git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805714 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/lifecycle/DefaultLifecycleExecutor.java | 6 ------ 1 file changed, 6 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 fdea343472..9dbdc9762b 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 @@ -419,12 +419,6 @@ public class DefaultLifecycleExecutor mojoExecution.setMojoDescriptor( mojoDescriptor ); } - PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor(); - if ( pluginDescriptor.getPlugin().isExtensions() ) - { - pluginDescriptor.setClassRealm( pluginManager.getPluginRealm( session, pluginDescriptor ) ); - } - populateMojoExecutionConfiguration( project, mojoExecution, MojoExecution.Source.CLI.equals( mojoExecution.getSource() ) );