我有一个项目(称之为项目-C)我试图用maven依赖插件进行分析。该项目执行package
目标没有任何问题,但是当我发出mvn dependency:tree
时,我得到了
Failed to execute goal on project project-B: Could not resolve dependencies for project com.mycompany:project-B:jar:0.5.0-SNAPSHOT: Could not transfer artifact com.mycompany:project-A:jar:0.5.0-SNAPSHOT from/to com.cloudera (https://repository.cloudera.com/content/repositories/releases/): Failed to transfer file: https://repository.cloudera.com/content/repositories/releases/com/mycompany/project-A/0.5.0-SNAPSHOT/project-A-0.5.0-SNAPSHOT.jar. Return code is: 409 , ReasonPhrase:Conflict.
现在,项目A和项目B都在本地存储库中,并且它们是项目C的依赖关系,所以我不明白为什么maven试图将它们从(或到)cloudera转移。关于什么可能是问题的任何想法?