Local, Remote and Virtual Repositories
Artifactory hosts two kinds of repositories: local and remote. Both local and remote repositories can be aggregated under virtual repositories, in order to create controlled domains for artifacts resolution and search, as we will see in the next sections.
Repositories can be created, deleted and edited and aggregated using the administration UI: Admin:Configuration:Repositories
Local repositories are physical locally-managed repositories that one can deploy artifacts into.
Artifacts under a local repository are directly accessible via a URL pattern of
Artifactory comes with a couple of pre-configured local repositories for deploying internal and external releases, snapshots and plugins.
A remote repositories serves as a caching proxy for a repository managed at a remote URL (including other Artifactory remote repository URLs). Artifacts are stored and updated in remote repositories according to various configuration parameters that control the caching and proxying behavior. You can remove cached artifacts from remote repository caches but you cannot manually deploy anything into a remote repository.
Artifacts under a remote repository are directly accessible via a URL pattern of
Artifactory comes with a couple of pre-configured common remote repositories, which you can, of course, change.
A remote repository acts as a proxy not as a mirror. Artifacts are note stored eagerly in remote repository caches, but are fetched and stored on demand when they are requested by a client.
A virtual repository (or "repository group", if you prefer this term) aggregates several repositories under a common URL. The repository is virtual in the sense that you can resolve and get artifacts from it but you cannot deploy anything to it.
The Default Virtual Repository
By default, Artifactory uses a global virtual repository that is available at
The search/resolution order when requesting artifacts from a virtual repository is always: local repositories, remote repository caches and finally remote repositories themselves. The order by which repositories of the same type (local, cache and remote) are queried is by governed by the order local, remote repositories and other virtual repositories are listed in the virtual repository configuration.
Artifactory's virtual repository configuration includes a "Resolved Repositories" list view that shows the effective repositories order per virtual repository. This is particularly helpful when nesting virtual repositories.
Repositories resolution if also affected by security privileges, include/exclude patterns and snapshots/releases handling policies.