是否必须提供 SCM Url 才能在 Maven Central 中获取项目 ID

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

注册 Maven 时 Central/central.sonatype.org 是否必须指定项目 URL/SCM URL.

我有一个私有 github 存储库,但我想在 Maven Central 上发布我的库。我怎样才能做到这一点 ?

是的,根据 the requirements

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

Maven guide 它说

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.