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
|
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.
Environment
Ran a release of Maven and Gradle plugin.
Steps to Reproduce
Expected Result
Both releases work
Actual Result
Second release fails with:
Which seems to be coming from
craft/src/targets/maven.ts
Lines 694 to 698 in 1f5cca9
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.