From 6199cc768827e1409aee2eb6a2084976142ce82e Mon Sep 17 00:00:00 2001 From: Chad Wilson <29788154+chadlwilson@users.noreply.github.com> Date: Wed, 2 Jul 2025 17:08:36 +1200 Subject: [PATCH] Migrate publishing to go via new Sonatype Central publishing portal --- README.md | 2 +- pom.xml | 22 +++++----------------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index e0c89cf1..e18da2d4 100644 --- a/README.md +++ b/README.md @@ -335,7 +335,7 @@ package and push the .jar every time a commit changes a source file). ## Releasing -* Make sure auth is configured for "ossrh" repository ID in your .m2/settings.xml +* Make sure auth is configured for "central" repository ID in your .m2/settings.xml * Update the version in src/main/ruby/jruby/rack/version.rb to the release version * mvn release:prepare * mvn release:perform (possibly with -DuseReleaseProfile=false due to Javadoc doclint failures for now) diff --git a/pom.xml b/pom.xml index b1ffe421..c429dc57 100644 --- a/pom.xml +++ b/pom.xml @@ -31,17 +31,6 @@ https://github.com/jruby/jruby-rack/issues - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - scm:git:git://github.com/jruby/jruby-rack.git scm:git:git@github.com:jruby/jruby-rack.git @@ -290,14 +279,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - ossrh - https://oss.sonatype.org/ - false + central + true