|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Unable to force Artifactory-Server to download libs by request from Artifactory-SatelliteI have two Artefactory instances - on the Russia (satellite) and on the USA (server). And I want satellite to download jars which I need from server instance and if server hasn't them, then I want server to download it from maven central or other public.
So, as it mentioned on the other branches I set "Artifactory requests can retrieve remote artifacts" flag to true, but I can't reach what I need. It works like this: if my satellite or my server instance has *.jars, then I can receive it, but server can't ask to other public repositories if it hasn't what I need. Artifactory version is 2.0.5 for both server and satellite. I've read some branches of these forum, tried some; used google, but can't find any helpful. I would appreciate for any ideas. Thanks for your time! |
|
|
Re: Unable to force Artifactory-Server to download libs by request from Artifactory-SatelliteThe "Artifactory requests can retrieve remote artifacts" flag is per virtual repository, so satellite Artifactories need to specify the URL of the virtual repository (http://server/artifactory/<virtual-repo-name>) for the remote Artifactory repository. If this is your setup and it doesn't work it may be a bug.
If, however, you are using the global "repo" virtual repository in the URL, then it will not download remote artifacts automatically. HTH, Yoav On Wed, Jul 22, 2009 at 12:26 PM, Evgeny Morozov <evgeny.a.morozov@...> wrote:
------------------------------------------------------------------------------ _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: Unable to force Artifactory-Server to download libs by request from Artifactory-SatelliteReally thanks for your answer! You are absolutely right, now I can confirm it, because I guessed it by myself. =)
It wasn't obvoius for me. After reading documentation I was sure that Artifactory will try to find needed .jar on the local repository and then on the cache and only then it will try to download. So I used only global "repo" and it of course didn't work. I think it will be helpful to add this explanation to documentation. Thank for your time!
|
| Free embeddable forum powered by Nabble | Forum Help |