Skip to content

Update decommissioned s01.oss.sonatype.org snapshot URL to Central Portal#3846

Open
kobihikri wants to merge 2 commits into
mockito:mainfrom
kobihikri:fix-decommissioned-sonatype-url
Open

Update decommissioned s01.oss.sonatype.org snapshot URL to Central Portal#3846
kobihikri wants to merge 2 commits into
mockito:mainfrom
kobihikri:fix-decommissioned-sonatype-url

Conversation

@kobihikri

Copy link
Copy Markdown

Hi, and thank you for Mockito.

Two references still point at the decommissioned Sonatype OSSRH host s01.oss.sonatype.org, which Sonatype has retired in favour of the Central Portal:

  • README.md (line 76): the "How to release" snapshot download URL.
  • buildSrc/src/main/kotlin/mockito.root.releasing-conventions.gradle.kts (line 40): the "SNAPSHOTS released to:" log message.

Your build's actual publishing config has already migrated — the same file (line 66) defines snapshotRepositoryUrl = uri("https://central.sonatype.com/repository/maven-snapshots/"). So these two strings just lag the real endpoint. This PR updates both s01.oss.sonatype.org/content/repositories/snapshots references to https://central.sonatype.com/repository/maven-snapshots, matching your own snapshotRepositoryUrl.

For transparency: I used AI assistance to spot and draft this; I verified all three locations against the current source myself.

…rtal (buildSrc/src/main/kotlin/mockito.root.releasing-conventions.gradle.kts)
"""
RELEASE SUMMARY
SNAPSHOTS released to: https://s01.oss.sonatype.org/content/repositories/snapshots/org/mockito/mockito-core
SNAPSHOTS released to: https://central.sonatype.com/repository/maven-snapshots/org/mockito/mockito-core

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The new links don't work - they go to a 404 page.

I recently fixed these links in the mockito-kotlin repo. I believe it should be:

https://central.sonatype.com/artifact/org.mockito/mockito-core

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.

2 participants