vanniktech/gradle-maven-publish-plugin

New sonatype credential system breaks staging profiles resolution

ZacSweers opened this issue · 3 comments

Currently staging profiles resolution assumes the username is the staging profile, but with sonatype's new credential/token system, the username is a randomly generated string and not the name of the staging profile name. It looks like we need a separate property to specify the sonatype username manually still separate from auth

Looking further, I see this is coming up from just trying to query available profiles, which might suggest it's not possible with the new system?

I've just gave it a try and it worked for me. What's the error that you are seeing? Did you get the credentials from this page?
Screenshot 2024-06-19 at 20 27 47

Seems to be working now, it appears that tokens generated from the regular sonatype UI are not usable with the oss.sonatype system