mirror of https://github.com/apache/maven.git
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:
parent
cc47645398
commit
7946e31f40
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue