From 24abd250c4edbd7ba228a297c21305935f2a061a Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Fri, 17 Oct 2025 16:31:35 -0400 Subject: [PATCH] remove defunct ossrh and use central instead #11766 At https://github.com/IQSS/dataverse/issues/11512 we are tracking the changes we're making get publishing to Maven Central working again now that OSSRH is not supported. We already switched our maven parent package from old to new so I compared these versions to come up with the change in this commit: old (OSSRH): https://github.com/gdcc/maven-parent/blob/ae7b5904d7332259825409faa77545cdff6b84b9/pom.xml new: https://github.com/gdcc/maven-parent/blob/6af0bf07d2134dd4c3f38c58b55479d82922509f/pom.xml See also these docs: https://central.sonatype.org/publish/publish-portal-maven/#automatic-publishing --- modules/dataverse-spi/pom.xml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/modules/dataverse-spi/pom.xml b/modules/dataverse-spi/pom.xml index a603e274234..0743ff66e8d 100644 --- a/modules/dataverse-spi/pom.xml +++ b/modules/dataverse-spi/pom.xml @@ -67,12 +67,6 @@ central https://central.sonatype.com/repository/maven-snapshots/ - - - ossrh - - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - @@ -80,6 +74,7 @@ none false + false @@ -108,15 +103,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin true - - ossrh - - https://s01.oss.sonatype.org - true + central + true + ${project.name} + ${skipRelease}