Nexus OSS 3 - UI 未显示代理组件

Nexus OSS 3 - UI not showing proxied components

我安装了全新的 Nexus Repository OSS 3.3.2-02。它有一个预先配置的 maven-central 存储库。在不更改任何内容的情况下,我只是抓取了 URL 用于访问此代理存储库并将其添加到我的本地 M2 设置中。

当我尝试构建一些项目时,我的依赖项被正确获取并构建了项目。下面是 Maven 客户端日志:

[INFO] ------------------------------------------------------------------------
[INFO] Building jiraBootcamp 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.atlassian.jira:jira-api:jar:7.2.2 is missing, no dependency information available
[WARNING] The POM for com.atlassian.plugin:atlassian-spring-scanner-annotation:jar:2.1.1 is missing, no dependency information available
[WARNING] The POM for com.atlassian.activeobjects:activeobjects-plugin:jar:1.2.3 is missing, no dependency information available
[WARNING] The POM for com.atlassian.plugins.rest:atlassian-rest-common:jar:1.0.2 is missing, no dependency information available
[WARNING] The POM for com.atlassian.sal:sal-api:jar:2.6.0 is missing, no dependency information available
Downloading: https://devtools.morosystems.cz/nexus/repository/maven-central/org/projectlombok/lombok/1.16.4/lombok-1.16.4.pom
Downloading: http://repo.maven.apache.org/maven2/org/projectlombok/lombok/1.16.4/lombok-1.16.4.pom
Downloaded: http://repo.maven.apache.org/maven2/org/projectlombok/lombok/1.16.4/lombok-1.16.4.pom (2 KB at 10.5 KB/sec)

问题是,当我浏览 Nexus UI 时,我希望 Lombok 库是:

但是,这不起作用,因为视图是空的,搜索也找不到任何内容。

拜托,你能帮我找出问题所在吗?我是第一次配置Nexus OSS 3 所以解决方法可能很简单。

非常感谢!

您的 maven 日志显示该组件不是从 Nexus 下载的:

正在下载:http://repo.maven.apache.org/maven2/org/projectlombok/lombok/1.16.4/lombok-1.16.4.pom

将 Nexus 设置为 Maven 中所有存储库的镜像,如下所述:

http://books.sonatype.com/nexus-book/reference3/maven.html#maven-sect-single-group

这将阻止 Maven 访问 Nexus 以外的存储库。