-
Notifications
You must be signed in to change notification settings - Fork 30
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
Staging repository is not in desired state (not_found): StagingRepository(id=orgpostgresql-1612804902325, state=released, transitioning=false) #52
Comments
See Codearte/gradle-nexus-staging-plugin#37 for |
@szpak Could you please take a look? |
When I was writing that code the Nexus API v2 documentation was quite poor. AFAIR, I needed to take a look in the source code of a Maven counterpart plugin to use some features (e.g. autoDrop). Most likely, I had a reason to implement it that way and your case tends to confirm that. I will tweak the implementation in GNPP. And thanks for the report :-). |
I'm afraid Maven plugin uses "the official Nexus client" which has closed sources. |
AFAIR, in the past, only the crucial part communicating to Nexus was closed source, not the whole plugin. Nevertheless, that didn't stop me from getting some knowledge from that project ;-). |
I'm facing a similar issue in a Kotlin Multiplatform project, using version 1.1.0 of the plugin. It is built and released simultaneously across 3 different hosts (Linux/macOS/Windows). They all fail late in the process with a similar message, for example:
When I check Nexus, they show up as closed, and after a few seconds, they are released. The workflow itself is very basic. Configuration too [1] [2]. Can there be a race condition, or is this misconfiguration on my part? |
Updated. I created a separate issue as it is not directly related to the already fixed case originally reported here. @goncalossilva, please put your reply there. |
I've the following (I use https://github.com/vlsi/nexus-stub as a poorman's Nexus).
Are you sure
state=release, transitioning=false
is not valid state for Nexus as it promotes a staging repository?AFAIK GNSP required either
not_found
orreleased
state (see(expected [released, not_found])
in Codearte/gradle-nexus-staging-plugin#110 (comment) )publish-plugin
:The text was updated successfully, but these errors were encountered: