向Nexus添加了存储库,但仍然找不到工件 [英] Added repository to Nexus but still not finding artifacts

查看:253
本文介绍了向Nexus添加了存储库,但仍然找不到工件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用hl7api(HAPI)的项目,该项目位于 http://hl7api.sourceforge.net/m2

I have a project that uses the hl7api (HAPI) available at http://hl7api.sourceforge.net/m2

在pom中,我使用此URL定义了一个存储库.如果我不通过本地联系,它会起作用,但是当我这样做时,它将找不到伪像.我在Nexus中添加了具有相同网址的代理存储库.

In my pom I have defined a repository with this url. If I don't go via local nexus it works but when I do it will not find the artifacts. I have added a proxy repository in Nexus with the same url.

有什么想法吗?

推荐答案

如果您在Nexus中将存储库添加为proxy repository,请不要忘记将代理添加到镜像用于所有Nexus请求(公开/快照) -假设您具有这种配置.

If you added the repository as a proxy repository in Nexus do not forget to add the proxy to the Repository Group which you use as mirror for all Nexus requests (public/snapshot) - assumed you have this kind of configuration.

对不起-刚刚看到此解决方案作为对该问题的评论进行了讨论.无法删除答案,但它似乎已过时.

Sorry - just saw that this solution was discussed as comment on the question. Can not delete the answer but it seems to be obsolete.

这篇关于向Nexus添加了存储库,但仍然找不到工件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆