mirror of https://github.com/apache/maven.git
o don't need to store plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776561 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d5459955f5
commit
8637701384
|
@ -18,13 +18,10 @@ package org.apache.maven.execution;
|
|||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.maven.artifact.repository.ArtifactRepository;
|
||||
import org.apache.maven.model.Plugin;
|
||||
import org.apache.maven.model.Profile;
|
||||
import org.apache.maven.project.DefaultProjectBuilderConfiguration;
|
||||
import org.apache.maven.project.ProjectBuilderConfiguration;
|
||||
|
@ -71,8 +68,6 @@ public class DefaultMavenExecutionRequest
|
|||
|
||||
private File userToolchainsFile;
|
||||
|
||||
private Set<Plugin> plugins;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Request
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -664,20 +659,6 @@ public class DefaultMavenExecutionRequest
|
|||
return projectBuildingConfiguration;
|
||||
}
|
||||
|
||||
public void setPlugins(Set<Plugin> plugins)
|
||||
{
|
||||
this.plugins = plugins;
|
||||
}
|
||||
|
||||
public Set<Plugin> getPlugins()
|
||||
{
|
||||
if(plugins == null)
|
||||
{
|
||||
plugins = new HashSet<Plugin>();
|
||||
}
|
||||
return plugins;
|
||||
}
|
||||
|
||||
public MavenExecutionRequest addProfile( Profile profile )
|
||||
{
|
||||
if ( profile == null )
|
||||
|
|
|
@ -203,9 +203,5 @@ public interface MavenExecutionRequest
|
|||
File getUserToolchainsFile();
|
||||
MavenExecutionRequest setUserToolchainsFile( File userToolchainsFile );
|
||||
|
||||
ProjectBuilderConfiguration getProjectBuildingConfiguration();
|
||||
|
||||
void setPlugins(Set<Plugin> plugins);
|
||||
|
||||
Set<Plugin> getPlugins();
|
||||
ProjectBuilderConfiguration getProjectBuildingConfiguration();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue