Maven - Archiva - configure Archiva for different geographic locations

We have developers working in different geographical locations, and we want to configure Archiva for each of these geographical locations (just to make sure that traveling on both sides when receiving artifacts is less).

Is it possible that whenever an artifact is downloaded / deleted from Archiva in a location G1, the same change is inserted into the Archiva managed repository in location G2, G3etc.?

+3
source share
1 answer

This is not exactly what you requested, but the network effect is the same for users of the system, so you should look into it.

You can install Archiva in proxy servers using proxy connections . Using this mechanism, you can configure G2 to have a G1 proxy server, which means that when any artifact is deployed to G1, it will be available in G2 through the proxy mechanism.

From the documentation:

A proxy connector is used to associate a managed repository (stored on an Archiva machine) with a remote repository (accessed via a URL). This will mean that when a request is received by a managed repository, the connector contacts to decide if it should request a resource from a remote repository (and potentially cache the result locally for future requests).

, Archiva. , Archiva, .

- ( ). , - .


- , . , , , , , .

  • , rsync robocopy .
  • , node.
+2

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