'Getting 403 while pushing a build to maven central with a different group id

Say my initial group id was com.something.anything. And I was able to deploy the build successfully using the android maven-publish plugin.

I already own the domain com.something and I have authenticated it.

Now, I just want to change my group id from com.something.anything to com.something. So, when I try to publish the build with the new group id, it gives 403 and doesn't allow me to push the build.

When I tried creating a ticket on the sonatype with the com.something group id and the new artifact id, it tells me that Only one JIRA Issue per top-level groupId is necessary. You should already have all the necessary permissions to deploy any new artifacts under this groupId or any sub-groups.

I tried creating sonatype support ticket to delete the artifact but their bot marks the ticket as duplicate.

Need some help to overcome this issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source