Updated on 2026-08-10 GMT+08:00

Overview

Self-hosted repos include local, proxy, and virtual repositories.

Local Repository

  • Definition: A local repository stores all artifacts on the CodeArts Artifact server. It is used to store and manage build outputs, dependencies, and third-party artifacts.
  • Features:
    • Privacy: The repository is fully controlled by you and is not shared with external systems.
    • Durability: Data is permanently stored on the CodeArts Artifact server.
    • Performance: Fast access speeds.
    • Usage: It is suitable for storing self-developed components, binary files, and configuration files.

Proxy Repository

This repository type is supported only at region AP-Singapore.

  • Definition: A proxy of a mirror, public, or third-party artifact repository for pulling and caching requested resources.
  • Features:
    • Caching: The first request pulls resources from the external repository; subsequent requests use the cache.
    • Bandwidth saving: Repeated requests to external repositories are reduced, saving network bandwidth.
    • Offline access: Cached resources remain accessible if the external repository is unavailable.
    • Usage: It is suitable for proxying mirrors or public repositories, such as Maven Central and npmjs.com.

Virtual Repository

  • Definition: A virtual repository is a collection of local and proxy repositories accessed through a single URL.
  • Features:
    • Aggregation: A virtual repository can include multiple local and proxy repositories.
    • Single URL: Resources in multiple repositories can be accessed through a single logical URL.
    • Transparency: Clients do not need to know which repository stores the resources.
    • Flexibility: Repositories can be added or removed as needed.
    • Usage: It is used to simplify dependency management and build processes, and provides a unified view.