Help Center/
CodeArts Check/
FAQs/
General Issues/
Why Am I Told that No Dependency Exists in the Maven Repository?
Updated on 2024-10-10 GMT+08:00
Why Am I Told that No Dependency Exists in the Maven Repository?
Symptom
An error is reported, indicating that private dependencies cannot be found in the Maven repository.
Cause Analysis
Private dependencies are used in the project, but the private repository endpoints are not configured.
Solution 1
- On the View Task Details page, choose Settings > Rule sets > Check Parameter.
- Add -s settings.xml to the end of the compilation command to specify the settings used for Maven compilation.
Solution 2
- On the Tasks page, choose Settings > General > Service Endpoints to add a nexus repository endpoint.
- On the View Task Details page, choose Settings > Custom Environment > Self-hosted Repo Endpoints, and select the new nexus repository endpoint.
Parent topic: General Issues
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot