Overview
A local repository is a copy of software packages or dependencies stored on your computer. When you use Maven or npm to manage dependencies, the tools download dependencies from remote repositories to your local repository. However, CodeArts Artifact enforces strict permissions for storing, pushing, and pulling dependencies and final products generated during development to support effective team collaboration. Therefore, after migrating Maven and npm repository data from your local disk to CodeArts Artifact, you can manage operations and maintenance more efficiently in one place. To meet this need, CodeArts Artifact provides a tool to help you quickly migrate Maven and npm repository data in batches to the Maven and npm repositories in self-hosted repos.
Constraints
Only local Maven and npm repository data can be migrated to self-hosted repos in CodeArts Artifact.
Preparations
- You already have a project. If no project is available, create one.
- You have permissions for the current self-hosted repo. For details, see Configuring Repository Permissions.
- You have created a Maven repository and an npm registry in self-hosted repos.
- You have the Python3 environment available.
- The local PC running the migration tool is connected to CodeArts Artifact.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot