简体   繁体   English

是否可以从我们自己的 Artifactory 仓库同步到 Maven Central?

[英]Is it possible to synch from our own Artifactory repo to Maven Central?

For some time, we have published all our artifacts to our own repository, which we host ourselves, using JFrog Artifactory.一段时间以来,我们使用 JFrog Artifactory 将所有工件发布到我们自己托管的存储库中。

We have some open source libraries we want to publish to Maven Central, and have come to the point where can publish every new version to Maven Central as a manual step.我们有一些想要发布到 Maven Central 的开源库,并且已经到了可以将每个新版本发布到 Maven Central 作为手动步骤的地步。 Now, we want to automate this, and the two options seems to be to either integrate it into our CI workflow or to sync it from our repository.现在,我们想要自动执行此操作,两个选项似乎是将其集成到我们的 CI 工作流中或从我们的存储库中同步它。 Synching is the easier solution if we can make it work.如果我们可以使它工作,同步是更简单的解决方案。 Sonatype provide some straight forward instructions for doing so with the Nexus Repository Manager here: https://central.sonatype.org/publish/large-orgs/sync/ Sonatype 提供了一些使用 Nexus 存储库管理器执行此操作的直接说明: https : //central.sonatype.org/publish/large-orgs/sync/

However, Nexus does not run on Artifactory, so the question is: How do we sync from Artifactory to Maven Central?但是,Nexus 不在 Artifactory 上运行,所以问题是:我们如何从 Artifactory 同步到 Maven Central? (Or is it even possible? A confirmation that this is not possible would also be very valuable.) (或者甚至有可能吗?确认这是不可能的也是非常有价值的。)

用例是将 Artifactory 中的工件同步到 Maven 中心,这在 Artifactory 端是不可能的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM