我成功安装了 Nexus OSS 3.2,但我没有得到任何搜索结果,例如“junit”。同样在 Browse/Components/Maven Central 下也没有列出任何组件。
我找到了 NEXUS-9563有以下答案:
This means that the search indexes from Central haven't been downloaded. Have you set "Download Remote Indexes" to "true" in the central proxy repository's configuration?
但是我在 Nexus OSS 3.2 中找不到“下载远程索引”选项。查看 Maven Central 的代理设置:
我试过:
The Rebuild Index button allows you to drop and recreate the search index for the proxy repository, synchronizing the contents with search index. This button is only available for proxy repositories.
Maven indexes can be used to download an index of available components to a client including a developer’s IDE, for example. The task publishes the index for all or a specific Maven repository.
但没有下载远程索引。
如何下载代理的远程索引?
最佳答案
Nexus Repository Manager 3.2 根本不支持使用远程索引进行搜索(和其他目的)。如果你想要这个功能,我建议暂时坚持使用 Nexus Repository Manager 2。
关于maven - 如何在 Nexus OSS 3.2 中下载远程索引?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41467162/