Is it mandatory to provide SCM Url for getting project ID in maven central

左心房为你撑大大i 提交于 2021-02-05 09:47:20

问题


When Registering for Maven Central/central.sonatype.org is it mandatory to specify the Project URL/SCM URL.

I have a private github repo, but I want to publish my library on maven central. How can I do that ?

Sonatype Form


回答1:


Yes it's required according to the requirements.

The connection to your source control system is another required element.

In the Maven guide it says

What about artifacts that can't be distributed because of their license? In that case only the POM for that dependency is required, listing where the dependency can be downloaded from. See an example.



来源:https://stackoverflow.com/questions/30756049/is-it-mandatory-to-provide-scm-url-for-getting-project-id-in-maven-central

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!