Help Center/ CodeArts Artifact/ FAQs/ Self-Hosted Repo/ Why Did the Dependency WAR or JAR Files Fail to Be Downloaded?
Updated on 2024-10-17 GMT+08:00

Why Did the Dependency WAR or JAR Files Fail to Be Downloaded?

Symptom

The local tools cannot download components in the self-hosted repo. A message is displayed indicating that the POM file cannot be found. The log information similar to the following is recorded.

Cause Analysis

The POM file is missing in the dependency.

When downloading dependencies using Gradle or Maven, you need to download a POM file first, and then a JAR or WAR file. Otherwise, the download will fail.

Solution

Re-upload the components that cannot be downloaded according to the components uploading standard.