mirror of https://github.com/apache/maven.git
o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@836255 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
56f3439ebc
commit
3f677ab042
|
@ -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<String> getLifecyclePhases()
|
||||
{
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles( String packaging )
|
||||
{
|
||||
Set<Plugin> plugins;
|
||||
|
@ -124,21 +107,6 @@ public class EmptyLifecycleExecutor
|
|||
return plugin;
|
||||
}
|
||||
|
||||
public void populateDefaultConfigurationForPlugins( Collection<Plugin> 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,
|
||||
|
|
Loading…
Reference in New Issue