From f9762d4eb425d828c47bdf07686ea323cc693b6a Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 3 Jul 2025 15:55:15 -0700 Subject: [PATCH] Update POM for latest Maven Central publishing hoops. --- pom.xml | 45 ++++++++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index c0bd9ce..31a7cba 100644 --- a/pom.xml +++ b/pom.xml @@ -1,11 +1,6 @@ 4.0.0 - - org.sonatype.oss - oss-parent - 7 - com.samskivert depot @@ -157,15 +152,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - false - ossrh-releases - https://oss.sonatype.org/ - aaa740f9c5c260 + central + true @@ -214,12 +207,38 @@ - release-sign-artifacts + release-extras performReleasetrue + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + org.apache.maven.plugins maven-gpg-plugin