diff --git a/README.md b/README.md index c7f0dcec..e184cdce 100644 --- a/README.md +++ b/README.md @@ -337,7 +337,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 bc886229..3186ca9b 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 @@ -284,14 +273,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