-
Notifications
You must be signed in to change notification settings - Fork 4
Update Sonatype repository URLs in pom.xml #327
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -302,11 +302,11 @@ | |||||
| <distributionManagement> | ||||||
| <snapshotRepository> | ||||||
| <id>ossrh</id> | ||||||
| <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> | ||||||
| <url>https://central.sonatype.com/repository/maven-snapshots/</url> | ||||||
| </snapshotRepository> | ||||||
| <repository> | ||||||
| <id>ossrh</id> | ||||||
| <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||||||
| <url>https://ossrh-staging-api.central.sonatype.com/service/local/</url> | ||||||
|
||||||
| <url>https://ossrh-staging-api.central.sonatype.com/service/local/</url> | |
| <url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The snapshot repository URL appears to be incorrect. According to Sonatype Central Publishing documentation, snapshots cannot be deployed to
https://central.sonatype.com/repository/maven-snapshots/(this is a browsing/download endpoint, not a deployment endpoint).For the new Sonatype Central Publishing system, snapshots should typically be deployed to
https://central.sonatype.com/api/v1/publisher/upload(or continue using the legacy OSSRH endpoint if you haven't migrated yet).Additionally, note that the nexus-staging-maven-plugin configuration at line 190 still references the old URL
https://s01.oss.sonatype.org/, which should also be updated to match the new endpoints if migrating to Sonatype Central Publishing.