dblock / log4jna

Log4jna is a library of native appenders for log4j.
Apache License 2.0
27 stars 17 forks source link

Migrate from OSSRH to central portal #238

Open dblock opened 9 months ago

dblock commented 9 months ago

Got a new project or two to publish, so I will be looking into migrating org.dblock from OSSHR to https://central.sonatype.org/register/central-portal which is becoming the default for new registrations on Feb 1st. Theoretically it shouldn't break log4jna publishing (much), but YOLO.

dblock commented 9 months ago

@yokra9 FYI the SNAPSHOT deploy currently fails with this. I aksed the Maven people of how to fix publishing for snapshots.

Screenshot 2024-01-24 at 11 02 37 AM
dblock commented 9 months ago

@yokra9 got this:

Like OSSRH, -SNAPSHOT releases cannot be published to Maven Central. OSSRH allowed uploading them for purposes of internal testing, and they would also fail validation when attempting to close the staging repository and release to Maven Central. The Portal has a similar feature, which we are currently in the process of documenting that we can send to you once it is publicly available. This feature is limited to downloading only releases that you have published with your credentials, so it is currently more limited than OSSRH. If you have specific usecases that you want to consider, we welcome your feedback while we are in early access.

I suppose the right thing to do is to disable snapshot uploading and remove them from available download links. I’ll take care of that. LMK if you have other thoughts - not sure if I can just add you to my email thread with them.