Help Center/ CodeArts Artifact/ User Guide/ Self-Hosted Repos (New)/ Managing Repositories/ Associating Maven Repositories with Projects
Updated on 2026-08-10 GMT+08:00

Associating Maven Repositories with Projects

After the Maven repository is associated with multiple projects, you can select this Maven repository in the build step of the build task in the project to store the build product to the repository.

Procedure

  1. Access self-hosted repos using your Huawei Cloud account.
  2. Click the target Maven repository in the repository list on the left.
  3. Click Settings on the right of the page, and select Project Associations.
  4. Find the target project to be associated in the list and click in the Operation column of the corresponding row.
  5. In the displayed dialog box, select the repository name, and click OK.

    When the system displays a message indicating that the operation is successful, the value of Associated Repositories for the project is updated based on the number of selected repositories.

Helpful Links

In CodeArts Build, you need to upload build products to self-hosted repos. For details, see Building with Maven.