Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0
-
None
-
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").