Toolkit: Artifactory, Nexus, Azure Artifacts & GitHub Packages
All repository managers implement the same ideas from the Artifact Repositories lesson: hosted, proxy and virtual repositories, access control, checksums, retention. They differ in which package formats they support, how they're hosted and licensed, and how they integrate with CI. None of them runs in this course's image; the ecosystem courses run the small local registries instead (conan_server, Verdaccio, pypiserver, a file:// Maven repository).
The main products
| Product | Hosting | Formats (selection) | Notable |
|---|---|---|---|
| JFrog Artifactory | SaaS or self-hosted; OSS edition (Maven/Gradle/generic), Artifactory CE for C/C++ (Conan + generic), Pro/Enterprise | 30+: Maven, npm, PyPI, NuGet, Conan, Cargo, Go, Docker/OCI, Helm, Debian, RPM, generic… | local/remote/virtual repos, build info and build promotion, AQL queries, Xray scanning, replication, jf CLI |
| Sonatype Nexus Repository | self-hosted (Community Edition, Pro) or Sonatype Cloud | Maven, npm, PyPI, NuGet, Docker, Helm, apt, yum, Go, Cargo, Conan, raw… | hosted/proxy/group repos, cleanup policies, Firewall/Lifecycle add-ons; Nexus started as Maven's repository |
| Azure Artifacts | SaaS in Azure DevOps | NuGet, npm, Maven, Python, Cargo, Universal Packages | feeds with upstream sources (proxying) and views (@local, @prerelease, @release) for promotion |
| GitHub Packages | SaaS with GitHub | npm, Maven, Gradle, NuGet, RubyGems, containers (ghcr.io) | permissions follow repositories; GITHUB_TOKEN in Actions; no proxying of public registries |
| GitLab Package Registry | SaaS or self-managed | Maven, npm, PyPI, NuGet, Conan, Go, generic, containers | per project/group; CI job tokens; dependency proxy for containers |
| AWS CodeArtifact | AWS SaaS | Maven, npm, PyPI, NuGet, Swift, Ruby, Cargo, generic | upstream repositories and external connections, IAM auth |
| Google Artifact Registry | GCP SaaS | Docker/OCI, Maven, npm, Python, apt, yum, Go, generic | remote and virtual repositories, IAM auth |
| Others | Cloudsmith (SaaS, many formats), ProGet (Windows-friendly), Harbor (containers), Verdaccio (npm), devpi (Python) |
Mapping the vocabulary
| Concept | Artifactory | Nexus | Azure Artifacts | GitHub Packages | CodeArtifact |
|---|---|---|---|---|---|
| Your own packages | local repo | hosted repo | feed | package (per repo/org) | repository |
| Cache of a public registry | remote repo | proxy repo | upstream source | — | upstream / external connection |
| One URL for many | virtual repo | group repo | feed with upstreams | — | repository with upstreams |
| Promotion | build promotion, copy/move | staging, tags, move | views | — (publish a new version) | copy package versions |
Wiring clients to a repository
The client side is the same whichever server you choose: point the tool at one URL and give it a token. Keep tokens in CI secrets or the user's config, never in the project:
# ~/.npmrc (GitHub Packages for the @acme scope, the public registry for the rest)
@acme:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}# Conan against Artifactory (C/C++)
conan remote add acme https://acme.jfrog.io/artifactory/api/conan/conan-virtual
conan remote login acme ci-bot -p "$ARTIFACTORY_TOKEN"
conan upload "engine/1.4.0" -r acme -c
# Python via Nexus
pip install --index-url https://nexus.acme.example/repository/pypi-group/simple engine-tools
# NuGet via Azure Artifacts (one feed, upstream sources enabled)
dotnet nuget add source https://pkgs.dev.azure.com/acme/_packaging/main/nuget/v3/index.json -n acme<!-- Maven deploying to Nexus: release and snapshot repositories -->
<distributionManagement>
<repository><id>acme-releases</id><url>https://nexus.acme.example/repository/maven-releases/</url></repository>
<snapshotRepository><id>acme-snapshots</id><url>https://nexus.acme.example/repository/maven-snapshots/</url></snapshotRepository>
</distributionManagement>The equivalent sessions against local servers run for real in Conan remotes, npm publish, twine & uv publish and Maven deploy.
Choosing
- Already all-in on one platform? Use its registry (GitHub Packages, GitLab, Azure Artifacts, CodeArtifact, Artifact Registry): authentication and CI integration come for free.
- Many formats, proxying of public registries, promotion workflows, on-premises requirements? Artifactory or Nexus. For C/C++ teams using Conan, Artifactory CE is the common free choice; Nexus also has a Conan format.
- Containers: any of them, or a dedicated registry (Harbor, ECR, GHCR); deploy by digest.
- Air-gapped or regulated environments: self-hosted Artifactory/Nexus with proxies that are filled from an approved staging area, not from the internet.
Whatever you pick, apply the same rules: one virtual URL per ecosystem for clients, write access only for CI, immutable release repositories, retention policies on everything else, checksums verified everywhere.
Test yourself
Which product's feeds use 'views' such as @prerelease and @release for promotion?
- Nexus
- Azure Artifacts
- GitHub Packages
- Verdaccio
What is Nexus's name for Artifactory's 'virtual' repository?
- proxy
- hosted
- group
- feed
Which free Artifactory edition targets C/C++ teams?
- Artifactory OSS
- Artifactory Community Edition for C/C++ (Conan + generic)
- Xray
- Artifactory Edge