Hey, it depends on the kind of snapshot versions you are using - unique (contains timestamp and build number) or non-unique.
If you are using non-unique snapshots, then it is only possible if both repositories holding the snapshot are proxies (caches). This is because Artifactory prefers snapshot artifacts that is has on it's local repositories and once one is found, search on remote repositories is not performed. For unique snapshots, the local and proxy repositories are most likely to contain snapshots with different timestamps. So if you request a specific snapshot it will take it from the (only) repository it exists (local or remote). But, to determine the latest unique version, maven requests a file called maven-metadata.xml which holds this information. When Artifactory receives request for maven metadata, it will merge the maven metadata from all the repositories where it exists, preferring the newest metadata. So, for unique snapshots, the merged metadata should point to the latest unique timestamp and build number. HTH Yossi On Tue, May 4, 2010 at 2:26 PM, mers <[email protected]> wrote: > > Hi, > > I have two Artifactory servers deployed in two remote locations. A team is > working in each location, and they pull from and deploy to their local > server. The servers are set up to proxy each other, so an artifact deployed > in one location is accessible (lazily) to the other. > > This worked fine when the teams were working on different artifacts, but > the > teams recently started working on the same code. Both teams have built a > foo-SNAPSHOT artifact, and deployed it to their local repository. > Is it possible for both teams to be able to fetch the latest version of > this > artifact, irrespective of where it's located? > > Thanks, > Emerson > > -- > View this message in context: > http://forums.jfrog.org/Can-remote-deployments-proxy-each-other-for-the-same-artifacts-tp5002852p5002852.html > Sent from the Artifactory - Users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users >
------------------------------------------------------------------------------
_______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
