Best Practices for Creating a Snapshot of a Remote Repository

Shani Attias
2023-01-22 11:11

To be certain that all of your installs are using the same version of given artifacts, you might want to create a snapshot of a remote repository. Here are suggestions when creating a snapshot repository:

  1. Cache the required remote artifacts to a remote repository. Note: If you'd like to complete your builds using this remote repository, all packages required to do so will need to be cached.

  2. Create a new local repository with a repository name that contains the date when the snapshot was made (e.g., abc-2021may03).

  3. Copy the cache you created in Step #1 above to the local repository that you created in Step #2.

  4. Resolve your artifacts from the local repository.


Published: Oct. 6, 2016

Last updated: Jan. 24, 2021


Keywords: snapshot, snapshot repository