Connecting Self-Hosted Repos to Your Local Development Environment
By default, the Maven tool connects to the public repository, and is implemented through configurations in the setting.xml file. Self-hosted repos can be connected to your local development environment. You can modify the configuration in the setting.xml file to connect a self-hosted repo to your local development environment.
Configuring setting.xml Files
- Access self-hosted repos using your Huawei Cloud account.
- In the left pane, click the name of the repository to be connected to your local development environment.
- Click Tutorial on the right of the page.
- In the displayed dialog box, click Download Configuration File to download the configuration file to your local directory. Figure 1 Downloading the configuration file
- Copy the downloaded file to the corresponding Maven directory based on the instructions in the information dialog box.
Resetting Repository Password
You can reset the password in the configuration file of self-hosted repo. After the password is reset, download the configuration file again to replace the original file.
- Access self-hosted repos using your Huawei Cloud account.
- In the left pane, select the repository whose password you want to reset.
- Click
above the repository list on the right and select Reset Repository Password. - In the displayed dialog box, click OK. Check that a message is displayed indicating the password has been reset.
What is your overall rating for this page?
Thank 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