Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
None
-
None
-
None
Description
There appear to be a bug in artifact descriptor cache implemented in aether DefaultDependencyCollector. The cache allows use of cached descriptors when descriptor parent(s) are not accessible from any enabled repository.
This is particularly problematic during multithreaded builds, where timing of individual module project builds is not guaranteed, and the invalid artifact descriptor cache implementation can result in infrequent and hard to troubleshoot dependency resolution failures.
I'll provide small standalone example project that demonstrates the problem shortly.