Maven试图访问不存在的回购

时间:2012-07-04 08:53:41

标签: maven

我正在开发一个带有远程私有存储库的大型项目。 有人将其中一个寄存器设置为http://central 在每个孩子的模块构建maven尝试从这个repo下载。 (我没有任何访问权限)

现在我收到此错误

Could not transfer metadata com.company.project:child-lib-ui:01.111.00.00-SNAPSHOT/maven-metadata.xml from/to central (http://central): Error transferring file: Server returned HTTP response code: 503 for URL: http://central/

A已经从所有pom中删除了所有提及的“http:// central”,清除了所有本地存储库,但现在我仍然在构建中获得此repo。

如何跳过此回购?

1 个答案:

答案 0 :(得分:0)

您可能在settings.xml文件中有此回购声明。