Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Copy link

Copilot AI Nov 14, 2025

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.

Suggested change
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<url>https://central.sonatype.com/api/v1/publisher/upload</url>

Copilot uses AI. Check for mistakes.
</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>
Copy link

Copilot AI Nov 14, 2025

Choose a reason for hiding this comment

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

The release repository URL is incomplete. The staging deployment endpoint should include the full path. The current URL https://ossrh-staging-api.central.sonatype.com/service/local/ is missing the /staging/deploy/maven2/ path component.

The correct URL should be: https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/

Suggested change
<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>

Copilot uses AI. Check for mistakes.
</repository>
</distributionManagement>
<profiles>
Expand Down