From 5ac64572cc79e0147d6f409a6c45b32b98c0dfdf Mon Sep 17 00:00:00 2001 From: Jean-Christophe Gay Date: Sun, 31 Jul 2022 21:48:57 +0200 Subject: [PATCH] Automatically release on Maven Central Instead of manually close staged artifacts repository in https://oss.sonatype.org/ the plugin will handle it. https://help.sonatype.com/repomanager2/staging-releases/configuring-your-project-for-deployment --- pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pom.xml b/pom.xml index 93effc5a..e6637211 100644 --- a/pom.xml +++ b/pom.xml @@ -238,6 +238,7 @@ ${project.reporting.outputDirectory} 5.9.0 9.3 + 1.6.13 @@ -476,6 +477,11 @@ maven-surefire-report-plugin ${maven-surefire-report-plugin.version} + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus-staging-maven-plugin.version} + org.codehaus.mojo @@ -604,6 +610,16 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + true + + ossrh-staging + https://oss.sonatype.org/ + true + +