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

Support publishing snapshot releases to Central Portal #894

Merged
merged 2 commits into from
Feb 2, 2025

Conversation

solrudev
Copy link
Contributor

Now that the issue with snapshots publishing is resolved on Sonatype's side, we can add support for it.

Closes issue #891.

Copy link
Collaborator

@gabrielittner gabrielittner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. I should manage to get a release out with this during the next week

@gabrielittner gabrielittner merged commit 4b78f1e into vanniktech:main Feb 2, 2025
0 of 9 checks passed
@bruderj15
Copy link

Now that the issue with snapshots publishing is resolved on Sonatype's side, we can add support for it.

Is it? I keep getting 403 with some files going through.

@AlexanderGH
Copy link

When you tried it, did you have the changes from this PR? It sounds like maybe you're still using the latest release which doesn't have these fixes yet (one of which is related to authentication)?

@bruderj15
Copy link

Thanks for the fast reply.
I am actually using the maven plugin central-publishing-maven-plugin with v.0.7.0.

@solrudev
Copy link
Contributor Author

solrudev commented Feb 8, 2025

@bruderj15 Last I've checked everything seemed normal. If you have problems, send an email to Sonatype. After I've communicated with them about the issue, it got resolved for me and, as I saw, for others too.

Also, if credentials are not present, it'll return 401 code, not 403, so it's not a problem in the plugin, especially considering that you're using the official one.

@jamesnrokt
Copy link

Thanks for adding this functionality @solrudev. Really useful for a project I'm working on!

@gabrielittner Are there expected dates for an RC of 0.31.0?

@Danielku15
Copy link

I should really have checked the state of this before migrating my project. 😭 I just migrated my project to Central Portal after seeing they now support SNAPSHOTS. I'm currently stuck due to this limitation unless I move to a different publishing plugin. With my namespace migrated there is no going back.

Any chance we get a release soon enabling the SNAPSHOT publishing?

@gabrielittner
Copy link
Collaborator

Sorry for the delay, I'll try to cut a release in the next days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants