---
id: "nexus"
type: "component"
kind: "artifact-repository"
provider: "default"
category: "data"
docs: "https://help.sonatype.com/en/sonatype-nexus-repository.html"
url: "https://localhost:3000/catalogue/components/nexus"
---

# Sonatype Nexus Repository

Universal package manager with hosted, proxy and group repositories across 30+ formats.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Artifact repository](https://localhost:3000/catalogue/kinds/artifact-repository) |
| Category | Data |
| Official docs | [https://help.sonatype.com/en/sonatype-nexus-repository.html](https://help.sonatype.com/en/sonatype-nexus-repository.html) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `artifactType` | enum | `package`, `source`, `generic` | yes | — | **"package"** |
| `cleanupPolicy` | boolean | — | no | false | inherited |
| `edition` | enum | `community`, `pro` | no | "community" | inherited |
| `immutableVersions` | boolean | — | no | — | inherited |
| `managed` | boolean | — | no | false | **false** |
| `repositoryType` | enum | `hosted`, `proxy`, `group` | no | "hosted" | inherited |
| `retentionDays` | integer | — | no | — | inherited |
| `upstreamProxy` | boolean | — | no | false | **false** |
| `visibility` | enum | `private`, `public` | no | — | inherited |
| `vulnerabilityScanning` | boolean | — | no | — | **false** |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 30

- [AWS CodeArtifact](https://localhost:3000/catalogue/components/aws-codeartifact.md) `aws-codeartifact` — aws
- [AWS CodeCommit](https://localhost:3000/catalogue/components/aws-codecommit.md) `aws-codecommit` — aws
- [Amazon SageMaker Model Registry](https://localhost:3000/catalogue/components/aws-sagemaker-model-registry.md) `aws-sagemaker-model-registry` — aws
- [AWS Serverless Application Repository](https://localhost:3000/catalogue/components/aws-serverless-application-repository.md) `aws-serverless-application-repository` — aws
- [AWS Service Catalog](https://localhost:3000/catalogue/components/aws-service-catalog.md) `aws-service-catalog` — aws
- [Azure Artifacts](https://localhost:3000/catalogue/components/azure-artifacts.md) `azure-artifacts` — azure
- [Azure Compute Gallery](https://localhost:3000/catalogue/components/azure-compute-gallery.md) `azure-compute-gallery` — azure
- [Azure Repos](https://localhost:3000/catalogue/components/azure-repos.md) `azure-repos` — azure
- [Cloudflare Artifacts](https://localhost:3000/catalogue/components/cloudflare-artifacts.md) `cloudflare-artifacts` — cloudflare
- [Generic artifact repository](https://localhost:3000/catalogue/components/artifact-repository.md) `artifact-repository` — default
- [JFrog Artifactory](https://localhost:3000/catalogue/components/artifactory.md) `artifactory` — default
- [Bitbucket](https://localhost:3000/catalogue/components/bitbucket.md) `bitbucket` — default
- [Civitai](https://localhost:3000/catalogue/components/civitai.md) `civitai` — default
- [Forgejo](https://localhost:3000/catalogue/components/forgejo.md) `forgejo` — default
- [Gitea](https://localhost:3000/catalogue/components/gitea.md) `gitea` — default
- [GitHub](https://localhost:3000/catalogue/components/github.md) `github` — default
- [GitHub Packages](https://localhost:3000/catalogue/components/github-packages.md) `github-packages` — default
- [GitLab](https://localhost:3000/catalogue/components/gitlab.md) `gitlab` — default
- [Hugging Face Hub](https://localhost:3000/catalogue/components/hugging-face-hub.md) `hugging-face-hub` — default
- [Apache Subversion](https://localhost:3000/catalogue/components/subversion.md) `subversion` — default
- [Verdaccio](https://localhost:3000/catalogue/components/verdaccio.md) `verdaccio` — default
- [Cloud Source Repositories](https://localhost:3000/catalogue/components/google-cloud-source-repositories.md) `google-cloud-source-repositories` — gcp
- [Firebase App Distribution](https://localhost:3000/catalogue/components/google-firebase-app-distribution.md) `google-firebase-app-distribution` — gcp
- [Secure Source Manager](https://localhost:3000/catalogue/components/google-secure-source-manager.md) `google-secure-source-manager` — gcp
- [Vertex AI Model Registry](https://localhost:3000/catalogue/components/google-vertex-ai-model-registry.md) `google-vertex-ai-model-registry` — gcp
- [OCI Artifact Registry](https://localhost:3000/catalogue/components/oci-artifact-registry.md) `oci-artifact-registry` — oci
- [OCI Data Science Model Catalog](https://localhost:3000/catalogue/components/oci-data-science-model-catalog.md) `oci-data-science-model-catalog` — oci
- [OCI DevOps Code Repository](https://localhost:3000/catalogue/components/oci-devops-code-repository.md) `oci-devops-code-repository` — oci
- [OCI Service Catalog](https://localhost:3000/catalogue/components/oci-service-catalog.md) `oci-service-catalog` — oci
- [OpenStack Glance](https://localhost:3000/catalogue/components/openstack-glance.md) `openstack-glance` — openstack

## Use it in a design

```yaml
nodes:
  - { id: "nexus", component: "nexus" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Sonatype Nexus Repository: universal package manager supporting 30+ formats, with hosted repositories for
# internal artifacts, proxy repositories caching external sources and group repositories exposing several
# behind one endpoint ("Sonatype Nexus Repository"). Cleanup policies are configured per repository, and
# vulnerability and malware detection are the separate Lifecycle and Repository Firewall products.
schemaVersion: "1"
type: "component"
id: "nexus"
kind: "artifact-repository"
provider: "default"
docs: "https://help.sonatype.com/en/sonatype-nexus-repository.html"
defaults:
  artifactType: "package"
  managed: false
  upstreamProxy: false
  vulnerabilityScanning: false
properties:
  repositoryType:
    type: "enum"
    values: ["hosted", "proxy", "group"]
    default: "hosted"
  edition:
    type: "enum"
    values: ["community", "pro"]
    default: "community"
  cleanupPolicy:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/nexus
