Skip to content
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

SNAPSHOT releases for Central Portal #891

Closed
solrudev opened this issue Jan 18, 2025 · 3 comments
Closed

SNAPSHOT releases for Central Portal #891

solrudev opened this issue Jan 18, 2025 · 3 comments
Labels

Comments

@solrudev
Copy link
Contributor

solrudev commented Jan 18, 2025

Now Central Portal supports SNAPSHOT publishing: https://central.sonatype.org/news/20250114_snapshot_publishing_via_portal/

gradle-maven-publish-plugin can add automatic switching to Central Portal snapshots repository for -SNAPSHOT versions when publishing to Central Portal, like it's done for SonatypeHost.DEFAULT and SonatypeHost.S01.

@gabrielittner
Copy link
Collaborator

Thanks for the heads up. I'll add support for it soon

@solrudev
Copy link
Contributor Author

solrudev commented Jan 18, 2025

I've tried to add support to the plugin, but I'm getting 403 error codes when deploying. What's curious is some files are getting deployed without error.

Edit: it's always POM files that trigger 403.

@solrudev
Copy link
Contributor Author

It seems like all other artifacts in the Central Portal SNAPSHOTS repository also failed to upload correctly, and none have POM files. I've emailed to Sonatype support about this.

solrudev added a commit to solrudev/gradle-maven-publish-plugin that referenced this issue Jan 18, 2025
gabrielittner pushed a commit that referenced this issue Feb 2, 2025
* support publishing snapshot releases to central portal (#891)

* change docs to reflect that central portal snapshots repository is supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants