Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-309

PrefixesRemoteRepositoryFilterSource aborts the build while it should not

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.9.3, 1.9.4
    • Resolver
    • None

    Description

      The PrefixesRemoteRepositoryFilterSource caches layouts, and it is to jumpy when a non existent (or unsupported) layout like "legacy" is stepped on, as PrefixesRemoteRepositoryFilterSource.cacheLayout will wrap the NoRepositoryLayoutException into RuntimeException that will "bubble up" to surface, stopping the build.

      What really should happen is that in this case filter "stands off", as transfer will anyway fail (due unsupported layout), but it will fail gracefully, while it MAY succeed using other remote repository.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: