Skip to content

Conversation

@wadoon
Copy link
Member

@wadoon wadoon commented May 11, 2025

Related Issue

NOTE: If you have already migrated your namespace(s) to Maven Central this email does not apply to you and thank you for your initiative.

Greetings OSSRH Publisher,

As you may have heard, OSSRH is reaching end of life on June 30, 2025. OSSRH users need to migrate their namespaces to the Central Portal as soon as possible.

Instructions for self migration are located here: https://central.sonatype.org/faq/what-is-different-between-central-portal-and-legacy-ossrh/#self-service-migration

To make the transition smoother we will be automatically migrating publishers that have not used oss.sonatype.org or s01.sonatype.org to publish artifacts in some time starting with the oldest and working our way forward. To avoid disruption to your publishing processes we strongly encourage migrating before the June 30, 2025 deadline.

Thank you for your assistance,

The Central Team

Intended Change

Make gradle publish work again.

Found Bugs

key.core.calculus used a fixed version number. Version should not be overridden in modules, it is inherited by the top module.

Plan

  • Should relatively works as before. Real test on next release. Snapshots updated. See Prepare for key-2.12.4 wadoon/key-citool#73

  • BACKUP PLAN: Currently, Gradle can not deploy to the new central portal. The legacy support has not worked. The current only way to deploy is:

    gradle --parallel publishMavenJavaPublicationToLocalRepoRepository
    cd localRepo && zip -9 -r ../localRepo.zip . 
    1. It deploys the maven structure to the folder localRepo/
    2. It zips the structure in a correct way.
    3. SNAPSHOTs are not supported, argh...

    The zip file can be then uploaded to the central portal.

Type of pull request

  • Preventing rotting

Ensuring quality

  • I upload it to the central portal and it gets validated. Final test only possible with a release.

@wadoon wadoon added this to the v2.12.4 milestone May 11, 2025
@wadoon wadoon self-assigned this May 11, 2025
@wadoon wadoon added Deployment 🛠 Maintenance Code quality and related things w/o functional changes labels May 11, 2025
@wadoon wadoon marked this pull request as ready for review May 11, 2025 12:50
@wadoon wadoon marked this pull request as draft May 11, 2025 12:50
@wadoon wadoon changed the title OSSRH migration Migrating to central portal from OSSRH, due to OSSRH shutdown in summer'25 May 11, 2025
@wadoon wadoon force-pushed the weigl/ossrhmigration branch 2 times, most recently from 03daae4 to 2e31c52 Compare May 27, 2025 21:28
@wadoon wadoon force-pushed the weigl/ossrhmigration branch from 2e31c52 to ba56248 Compare June 7, 2025 16:08
@wadoon wadoon force-pushed the weigl/ossrhmigration branch from ba56248 to b646437 Compare June 14, 2025 16:10
@wadoon wadoon force-pushed the weigl/ossrhmigration branch 2 times, most recently from 2d62f5c to cffff1b Compare June 29, 2025 22:45
@wadoon wadoon force-pushed the weigl/ossrhmigration branch from cffff1b to f1da080 Compare July 13, 2025 18:13
@wadoon wadoon requested a review from unp1 July 13, 2025 18:13
@wadoon
Copy link
Member Author

wadoon commented Jul 13, 2025

@unp1 It should work now, but for the final test, we need a release.

@wadoon wadoon marked this pull request as ready for review July 13, 2025 18:15
@wadoon wadoon force-pushed the weigl/ossrhmigration branch 2 times, most recently from 3baf036 to a2026c9 Compare July 16, 2025 15:55
@wadoon wadoon force-pushed the weigl/ossrhmigration branch from a2026c9 to 2c15301 Compare July 26, 2025 19:16
@wadoon wadoon force-pushed the weigl/ossrhmigration branch 2 times, most recently from c5c73c3 to d8395c2 Compare August 22, 2025 18:48
@wadoon wadoon force-pushed the weigl/ossrhmigration branch from d8395c2 to 9cac189 Compare September 7, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Deployment 🛠 Maintenance Code quality and related things w/o functional changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants