Sonatype分段需要多长时间才能将我的工件与Maven central同步

Jac*_*ack 49 nexus sonatype maven

我已经使用Maven将我的Maven工件(发布)成功部署到Sonatype的staging存储库中.

上传地址是https://oss.sonatype.org/service/local/staging/deploy/maven2/

我想知道在中央存储库中看到它们需要多长时间?

Boj*_*Boj 58

如果您已按照步骤激活同步,则大约需要2个小时.

9激活中央同步

第一次推广发布时,您需要对第3节中创建的OSSRH JIRA票证发表评论,以便我们知道您已准备好同步.我们将审核您推荐的工件.如果没有发现问题,我们将为您激活Central Sync并关闭您的JIRA票证.

激活中央同步后,您的未来促销将自动同步.同步过程大约每2小时运行一次.

  • 为了澄清,您的文物在中心内可用大约需要10分钟,但它们不会出现在[search.maven.org](http://search.maven.org)的中心搜索结果中长达两个小时.这对你来说意味着你可以在10分钟后参考依赖关系,但是你不能在中心看到它们两个小时. (8认同)
  • 有关Central的更多文档现已在http://central.sonatype.org上提供,包括http://central.sonatype.org/pages/help.html上的帮助相关链接以及ossrh http:// central的迁移和更新指南.sonatype.org/pages/ossrh-guide.html以及更多细节. (2认同)
  • [本页](http://central.sonatype.org/pages/ossrh-guide.html#releasing-to-central)目前声称在发布大约十分钟后与Central同步. (2认同)

I_A*_*NDA 17

成功发布后,工件将通常在10分钟内发布到Central.但是,对search.maven.org的更新最多可能需要两个小时.

  • 为什么我在OSS Nexus中看到我的工件https://oss.sonatype.org/#welcome(在Releases下),但我仍然无法在Central中看到它?(12个小时过去了!)? (4认同)
  • 对于更多访客,[发布到 Central](http://central.sonatype.org/pages/ossrh-guide.html#releasing-to-central) (2认同)

Fhl*_*Fhl 7

如果其他人看到这个问题,以下是 Central OSSRH (Sonatype) 在发布新项目的第一个工件后收到的电子邮件的摘录:

已为您的.domain.artifact 激活中央同步。成功发布后,您的组件将发布到 Central https://repo1.maven.org/maven2/,通常会在 30 分钟内完成,但更新到https://search.maven.org最多可能需要四个小时


小智 6

From my last experience, the artifact that I released, it was synced with the Central Repository in ~8 hours.