Ivy: findrevision cannot resolve custom template in Artifactory, however ivy: retrieves it

I have this template in my ivysettings file:

<artifact pattern="${artifactory_host}/${repo}/[organisation]/[module]/[revision]/[type]/[artifact]-[revision].[ext]" />

When I resolve my dependencies with ivy: retrieve , it gets the dependencies without any problems with Artifactory. But when I try to do this with ivy: findrevision , it always sets the type and extension of the artifact as jar .

For example, if the path to the artifact is:

my_company/my_module/0.0.123456/cookbook/my_module_coockbooks-0.0.123456.zip

ivy: findrevision is looking for:

my_company/my_module/0.0.123456/jar/my_module_coockbooks-0.0.123456.jar



We used to have an NFS ivy repository , and ivy: findrevisions worked just as well as ivy: retrieved by looking for the appropriate type and extension.

, , Artifactory, - ant -ivy, , ant -ivy.



UPDATE

, , , , .

<artifact pattern="${artifactory_host}/${repo}/[organisation]/[module]/[revision]/cookboock/[artifact]-[revision].zip" />

ivy: findrevision ant -build, .

+4

Source: https://habr.com/ru/post/1626553/


All Articles