Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5927

maven does not honour configured <repositories> in some cases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              igorf Igor Fedorenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: