Package format notes
Reference for Craftifact package formats and repository types, including Maven, Python, npm, OCI, Go, and Generic capabilities and limitations.
Support at a glance
Craftifact currently supports these repository families:
- Maven
- Python
- npm
- OCI
- Go
- Generic
Maven, Python, npm, and OCI support Hosted, Proxy, and Group repositories. Go currently supports Proxy repositories only. Generic currently supports Hosted only.
General rules:
- hosted repositories are the normal writable target
- proxy repositories are effectively read-only
- group repositories are effectively read-only and depend on member repositories
Generic
Generic stores opaque bytes under complete object paths through PUT, GET, and HEAD. It is not a Maven substitute, archive format, website repository, or WebDAV endpoint. File extensions do not trigger package semantics, extraction, or automatic supply-chain analysis. See the Generic reference.
Maven
version_policy is the main Maven-specific behavior knob.
Supported values are:
ReleaseSnapshotMixed
Current behavior:
- default normalization is
Mixed - changing an existing Maven repository to a stricter target policy is blocked if current artifacts would violate that target
- metadata files and checksum/signature sidecars are not treated as policy violations
OCI
OCI has two grace-related behaviors worth knowing.
Untag grace
If you remove the last tag that references a manifest, the manifest closure is not deleted immediately. It enters an untag grace window of 5 minutes first.
Namespace delete grace
Namespace deletion in the UI uses a 1 hour grace period. That gives you a restore window before final cleanup.
Garbage collection
OCI garbage collection runs on a schedule. By default, the config layer uses a 10 minute interval for OCI GC scheduling. Unreferenced uploaded OCI content older than the grace period is eligible for deletion.
Go
Go currently supports Proxy repositories only.
Python and npm
Python and npm currently behave like the other repository families at the repository-type level:
- hosted, proxy, and group repositories are supported
- no special policy knob like Maven
version_policyexists today
Import-related notes
Current Nexus import coverage includes:
- Maven
- Python
- OCI
- npm
Proxy repository definitions can be imported, but proxy cache contents are not imported.
Related pages
- For SBOM generation and upload patterns, see Generate SBOMs with client tools.
- For concrete client configuration examples, see Configure client tools for package formats.
- For repository creation and cleanup behavior, see Repository lifecycle.
- For the current import workflow, see Import repositories from Nexus.