-
-
Notifications
You must be signed in to change notification settings - Fork 19
Quickly releasing multiple SDKs to Maven Central fails #587
Copy link
Copy link
Open
Description
Environment
Ran a release of Maven and Gradle plugin.
Steps to Reproduce
- Release Gradle plugin
- Release Maven plugin right after Gradle plugin release succeeded
Expected Result
Both releases work
Actual Result
Second release fails with:
Error: There are more than 1 active repositories. Please close unwanted deployments.
Which seems to be coming from
Lines 694 to 698 in 1f5cca9
| if (repositories.length > 1) { | |
| throw new Error( | |
| `There are more than 1 active repositories. Please close unwanted deployments.` | |
| ); | |
| } |
Maybe we could check the status of those open repositories as in the Sonatype UI it shows the staging repository with status "Released" including a note that it can safely be dropped.
As a workaround you can log into the "Sonatype Nexus OSS" UI and drop the staging repo manually after the first release.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Fields
Give feedbackNo fields configured for issues without a type.