Nexus Repo使用Maven提供503但不提供浏览器

Jac*_*kie 11 nexus maven

我刚刚在远程服务器上创建了一个Nexus repo.如果我在本地计算机上访问浏览器,我会看到pom文件就好了.但是,当我尝试mvn clean编译时,我看到......

http://server:8081/nexus/content/repositories/thirdparty/com/class/module/1.0.0/module-1.0.0.pom. Return code is: 503, ReasonPhrase:Service Unavailable. ->
Run Code Online (Sandbox Code Playgroud)

我知道503意味着它无法获得服务,但这引发了我,因为我在浏览器中看到它很好.

我在settings.xml中配置了代理,如果我将referance删除到第三方依赖项,我会得到中心deps.

有任何想法吗?

Jac*_*kie 16

问题与代理有关...

当我在Settings.xml中配置代理时,它对外部站点很有用,但它搞砸了内部站点(比如我的nexus repo).所以我从settings.xml中删除了代理,将其添加到我的nexus服务器,然后将中央仓库镜像到我的nexus版本的central repo.

现在一切都按预期工作了......