IDEA-81075 (Exception in maven integration)

This commit is contained in:
Sergey Evdokimov
2012-02-09 12:52:10 +04:00
parent acdf5ab288
commit 683bc308b3
@@ -891,7 +891,7 @@ public class MavenProject {
volatile List<MavenPlugin> myUnresolvedPluginsCache;
volatile List<MavenArtifact> myUnresolvedExtensionsCache;
ConcurrentHashMap<Key, Object> myCache = new ConcurrentHashMap<Key, Object>();
transient ConcurrentHashMap<Key, Object> myCache = new ConcurrentHashMap<Key, Object>();
@Override
public State clone() {
@@ -940,5 +940,10 @@ public class MavenProject {
return result;
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
in.defaultReadObject();
myCache = new ConcurrentHashMap<Key, Object>();
}
}
}