Updated on 2024-10-16 GMT+08:00

Associating Maven Repository 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.

  1. Go to the self-hosted repo page. In the left pane, click the name of a Maven repository.
  2. Click Settings on the right of the page, and select Project Associations.
  3. Find the target project to be associated in the list and click in the Operation column of the corresponding row.
  4. In the displayed dialog box, select the repository name, and click OK.

    After the "Operation successful" message is displayed, the value of Associated Repositories for the project will be updated according to the number of selected repositories.

In CodeArts Build, you need to upload build products to self-hosted repos. For details, see Using the File From the Self-hosted Repo to Build with Maven and Uploading the Resulting Software Package (Built-in Executors, GUI).