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

349 views Asked by At

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

There are 1 answers

0
jcragun On BEST ANSWER

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.