如何使用Maven的中央存储库部署我的开源项目? [英] How to Deploy my Open Source Projects using Maven's Central Repository?
问题描述
我有很多想知道我可以让自己的项目进入Maven的中央存储库。我自己在问这个问题,特别是当我看到一些知名的项目托管自己的存储库时,要求用户添加依赖关系和存储库。与此同时,其他项目也难以依赖这些项目。由于我不希望其他人添加一个附加的存储库,也不能自己托管一个,所以我正在寻找其他方法。
为什么没有一些项目使用选项部署到Maven Central以支持自己托管的存储库?有什么好的理由不明显吗?
你看过将工件上传到中央存储库的指南?
Is there anything I could do to get my own open source stuff into Maven's Central repository?
I've wondered many times how I could get my own projects into Maven's Central repository. I was asking this myself, especially as I've seen some well known projects hosting their own repository, requiring users to add dependency and repository. At the same time, it's getting difficult for other projects to depend on those projects. As I neither want others to add an additional repository nor to host one myself, I'm looking for other ways.
And why aren't some projects using the option to deploy to Maven Central in favor of their self-hosted repository? Any good reasons that aren't obvious?
Have you taken a look at the Guide to uploading artifacts to the Central Repository?
这篇关于如何使用Maven的中央存储库部署我的开源项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!