cdklabs / cdklabs/publib

Maven publishing abandons staging repositories for existing package versions

Open
#874 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
61
Forks
24
Avg merge
6h 45m
Merged PRs (30d)
14

Description

Maven publishing is creating staging repositories even if the package version being released already exists in Maven. If there are a lot of such concurrent requests, this leads to Maven blocking publishing credentials since this impacts their cleanup process and also customers since it becomes a noisy neighbor issue.

We need to fix our [publishing script](https://github.com/cdklabs/publib/blob/main/bin/publib-maven) to check for existing version before starting the publishing process.

Related issue with Maven: https://issues.sonatype.org/browse/OSSRH-94655

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.