reinstate the project cache, until we can find a better method of caching.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593698 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2007-11-10 00:17:44 +00:00
parent cc47645398
commit 7946e31f40
1 changed files with 5 additions and 3 deletions

View File

@ -30,7 +30,6 @@ import org.apache.maven.project.MavenProject;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.WeakHashMap;
/**
* This cache is meant to provide a reference of the project instances that are in the current build
@ -71,8 +70,11 @@ public class ProjectBuildCache
{
if ( liveInstance )
{
projectCache = new WeakHashMap();
pomFileCache = new WeakHashMap();
// projectCache = new WeakHashMap();
// pomFileCache = new WeakHashMap();
projectCache = new HashMap();
pomFileCache = new HashMap();
}
}