[Maven] publishing an artifact with a newly registered group id fails with 400 Bad Request

Recently I acquired a domain ""e; just to reserve a group id for my Java libraries.

The registration process went as smooth as usual.

But it fails with the following message:

./gradlew clean publish
> Task :publishMavenJavaPublicationToMavenRepository FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':publishMavenJavaPublicationToMavenRepository'.
> Failed to publish publication 'mavenJava' to repository 'maven'
> Could not PUT ''. Received status code 400 from server: Bad Request

It turns out that newly registered group id need to be published to,

Here is the official announcement from Sonatype.
New Users on