-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
401 Sonatype Maven Central Release is broken due to: Content access is protected by token (401) #212
Comments
---------- Forwarded message --------- Hi! Can you help with #212, please? Do I have to migrate from OSSRH (https://central.sonatype.org/register/legacy/) to Central Portal (https://central.sonatype.org/register/central-portal/) now? How? https://central.sonatype.org/faq/401-error does really help; I don't understand WHERE I would need to do https://central.sonatype.org/publish/generate-token/ - what's NXRM? I CAN login to https://central.sonatype.com/, but not e.g. to https://s01.oss.sonatype.org/, so I'm a bit confused what's what. When I try to Add Namespace "ch.vorburger" on https://central.sonatype.com/, it says that "Namespace 'ch.vorburger' is already registered as an OSSRH Namespace. For help with OSSRH namespaces, please refer to our documentation." All the changes you have recently been making are a bit confusing... ;-) Thanks for your help, Michael Vorburger |
For the record, I've manually reverted (via "git rebase") 2 commits related to the (initial) 3.3.0 release, and deleted the tag, from a week ago. I'll retry to figure out how to publish a release. |
#105 has notes from last time I've struggled with this... Sonatype Central Support replied with this: From: Support <> Hello Michael, We've recently made necessary changes to our account management system that involves requiring a user token to publish. Although we attempted to reach out to all of our publishers before this change, we realize that the communication might not have reached you. Please follow the instructions on publishing via a user token in order to resolve this issue. Please keep in mind that the user tokens generated in Central Portal cannot be used in OSSRH. Additionally, if you need to reset your OSSRH password, please follow these instructions to manage your credentials. Regards, So I am (apparently, still) on oss.sonatype.org; not on s01.oss.sonatype.org, nor "directly" (?) on "Central" (?). This means I am (still, for now) using OSSRH Sonatype Nexus Repository Manager servers, and not (yet) Central Publisher Portal, so not (yet, presumably) supposed to use https://central.sonatype.org/publish/generate-portal-token/ (with https://central.sonatype.org/publish/publish-portal-maven/) for https://central.sonatype.org/register/namespace/. I think this means that I need to create an access token using https://central.sonatype.org/publish/generate-token/ and use that, instead of (directly) using the password ("encrypted" LOL 🤣 🍭 via https://maven.apache.org/guides/mini/guide-encryption.html)... |
Looks like it worked; the 3.3.0 just showed up on https://oss.sonatype.org/#nexus-search;gav~ch.vorburger.exec~exec~~~~kw,versionexpand. https://github.com/vorburger/ch.vorburger.exec/releases/tag/exec-3.3.0 published. I'll reply to Sonatype Central Support to resolve case. I'll open a follow-up PR in MariaDB4j to bump to this. Closing this as Done. |
I've just tried to publish a 3.3.0 to https://search.maven.org/artifact/ch.vorburger.exec/exec, but it failed:
My
~/.m2/settings.xml
does have this, and this used to work as recently as March:Based on https://central.sonatype.org/pages/support/#producers, I'ved emailed
[email protected]
...The text was updated successfully, but these errors were encountered: