问题
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 ?
回答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