Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1550

Resolve report provides chain resolver name instead of specific used resolver name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • Core
    • None

    Description

      Example of ivysetting file:

      <ivysettings>
          <settings defaultResolver="repository" validate="false"/>
          <resolvers>
              <chain name="repository">            
                  <ibiblio name="custom1" m2compatible="true" root="https://nexusrep1.com/repository/>
                  <ibiblio name="custom2" m2compatible="true" root="https://nexusrep2.com/repository/>
              </chain>
          </resolvers>
      </ivysettings>
      

      After regular resolve report contains actual resolver and artresolver names ("custom1" or "custom2").
      After resolve with useCacheOnly="true" resolver and artresolver are set to "cache" for all resolved modules.
      If after that I do regular resolve (useCacheOnly="false"), all resolvers and artresolvers are set to "repository". And the only way I found to get actual resolver and artresolvers in report is to clean repository cache and do resolve again.
      Ivy saves chain resolver name to module properties file in cache instead of the name of specific resolver which found and downloaded artifacts. This happens every time when resolver and artifact.resolver specified in module properties file in cache are not found (for example, "cache").

      Attachments

        Activity

          People

            Unassigned Unassigned
            kiri Kirill Riabov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: