mirror of https://github.com/apache/maven.git
o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f5a6bfe6f
commit
4e0896c825
|
@ -31,7 +31,6 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.Stack;
|
|
||||||
|
|
||||||
import org.apache.maven.artifact.Artifact;
|
import org.apache.maven.artifact.Artifact;
|
||||||
import org.apache.maven.artifact.ArtifactUtils;
|
import org.apache.maven.artifact.ArtifactUtils;
|
||||||
|
@ -156,8 +155,6 @@ public class MavenProject
|
||||||
|
|
||||||
private Map<String, String> moduleAdjustments;
|
private Map<String, String> moduleAdjustments;
|
||||||
|
|
||||||
private Stack<MavenProject> previousExecutionProjects = new Stack<MavenProject>();
|
|
||||||
|
|
||||||
private ProjectBuilder mavenProjectBuilder;
|
private ProjectBuilder mavenProjectBuilder;
|
||||||
|
|
||||||
private ProjectBuildingRequest projectBuilderConfiguration;
|
private ProjectBuildingRequest projectBuilderConfiguration;
|
||||||
|
@ -1479,11 +1476,6 @@ public class MavenProject
|
||||||
|
|
||||||
public void setExecutionProject( MavenProject executionProject )
|
public void setExecutionProject( MavenProject executionProject )
|
||||||
{
|
{
|
||||||
if ( this.executionProject != null )
|
|
||||||
{
|
|
||||||
previousExecutionProjects.push( this.executionProject );
|
|
||||||
}
|
|
||||||
|
|
||||||
this.executionProject = executionProject;
|
this.executionProject = executionProject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1657,18 +1649,6 @@ public class MavenProject
|
||||||
return getBuild() != null ? getBuild().getDefaultGoal() : null;
|
return getBuild() != null ? getBuild().getDefaultGoal() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearExecutionProject()
|
|
||||||
{
|
|
||||||
if ( !previousExecutionProjects.isEmpty() )
|
|
||||||
{
|
|
||||||
executionProject = (MavenProject) previousExecutionProjects.pop();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
executionProject = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Plugin getPlugin( String pluginKey )
|
public Plugin getPlugin( String pluginKey )
|
||||||
{
|
{
|
||||||
return getBuild().getPluginsAsMap().get( pluginKey );
|
return getBuild().getPluginsAsMap().get( pluginKey );
|
||||||
|
|
Loading…
Reference in New Issue