Search code examples
sonatypemaven-central

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


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


Solution

  • 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.