maven - 如何在 Nexus OSS 3.2 中下载远程索引?

标签 maven nexus

我成功安装了 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 的代理设置:

Proxy settings

我试过:
  • 按钮 Rebuild index :

    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.

  • 类型为 Publish Maven indexes 的任务:

    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/

    相关文章:

    java - 在依赖于我自己的 Maven Artifact 的 Heroku 上部署 Java 应用程序

    java - Maven 在创建 war/jat 时忽略资源文件。如何强制它包含它们?

    java - 由于 StackOverflowError,无法完成对 Web 应用程序 [/app] 注释的扫描

    java - maven项目中的ant jar库

    maven-2 - 无法通过 Nexus 代理到 Maven 仓库

    scala - 如何让 sbt 使用本地 Maven 代理存储库 (Nexus)?

    java - 抛出异常时 IT 测试不会失败 Arquillian TestNG maven

    java - 如何检查远程存储库中是否存在 Maven Artifact

    maven - Nexus 不会从中央存储库下载完整的 Artifact 内容

    maven-2 - 如何找到依赖于另一个 Artifact 的 Artifact ?