Best Practices for Creating a Snapshot of a Remote Repository
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:
-
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.
-
Create a new local repository with a repository name that contains the date when the snapshot was made (e.g., abc-2021may03).
-
Copy the cache you created in Step #1 above to the local repository that you created in Step #2.
-
Resolve your artifacts from the local repository.
Published: Oct. 6, 2016
Last updated: Jan. 24, 2021
Keywords: snapshot, snapshot repository