From 2ae3616c3f346a85111f790cdec235f78b92edab Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Sat, 14 Nov 2009 20:15:49 +0000 Subject: [PATCH] o Removed dead code git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@836256 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/project/EmptyLifecycleExecutor.java | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java b/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java index 749e648367..1eb2f86425 100644 --- a/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java +++ b/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java @@ -19,16 +19,12 @@ package org.apache.maven.project; * under the License. */ -import java.util.Collection; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; -import org.apache.maven.artifact.repository.ArtifactRepository; -import org.apache.maven.artifact.repository.RepositoryRequest; import org.apache.maven.execution.MavenSession; -import org.apache.maven.lifecycle.LifecycleExecutionException; import org.apache.maven.lifecycle.LifecycleExecutor; import org.apache.maven.lifecycle.LifecycleNotFoundException; import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException; @@ -47,7 +43,6 @@ import org.apache.maven.plugin.PluginNotFoundException; import org.apache.maven.plugin.PluginResolutionException; import org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException; import org.apache.maven.plugin.version.PluginVersionResolutionException; -import org.codehaus.plexus.util.xml.Xpp3Dom; /** * A stub implementation that assumes an empty lifecycle to bypass interaction with the plugin manager and to avoid @@ -70,18 +65,6 @@ public class EmptyLifecycleExecutor { } - public Xpp3Dom getDefaultPluginConfiguration( String groupId, String artifactId, String version, String goal, - MavenProject project, ArtifactRepository localRepository ) - throws LifecycleExecutionException - { - return null; - } - - public List getLifecyclePhases() - { - return Collections.emptyList(); - } - public Set getPluginsBoundByDefaultToAllLifecycles( String packaging ) { Set plugins; @@ -124,21 +107,6 @@ public class EmptyLifecycleExecutor return plugin; } - public void populateDefaultConfigurationForPlugins( Collection plugins, RepositoryRequest repositoryRequest ) - throws LifecycleExecutionException - { - } - - public void populateDefaultConfigurationForPlugin( Plugin plugin, RepositoryRequest repositoryRequest ) - throws LifecycleExecutionException - { - } - - public void resolvePluginVersion( Plugin plugin, RepositoryRequest repositoryRequest ) - throws PluginNotFoundException - { - } - public void calculateForkedExecutions( MojoExecution mojoExecution, MavenSession session ) throws MojoNotFoundException, PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,