diff --git a/pom.xml b/pom.xml index eda0e00f3..3282cb3b3 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,6 @@ UTF-8 1.7.0 - 0.8.0 1.6 1.2.7 @@ -91,13 +90,14 @@ - org.sonatype.central - central-publishing-maven-plugin - ${central-publishing-maven-plugin.version} + org.sonatype.plugins + nexus-staging-maven-plugin + ${maven.staging.plugin} true - central - false + ossrh + https://oss.sonatype.org/ + false @@ -122,25 +122,49 @@ + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + false + + release + https://oss.sonatype.org/content/repositories/releases + true snapshot - https://central.sonatype.com/repository/maven-snapshots/ + https://oss.sonatype.org/content/repositories/snapshots + + + false + + releases + https://oss.sonatype.org/content/repositories/releases + true snapshot - https://central.sonatype.com/repository/maven-snapshots/ + https://oss.sonatype.org/content/repositories/snapshots diff --git a/sofa-boot-tests/pom.xml b/sofa-boot-tests/pom.xml index 740f30d59..a77ce8918 100644 --- a/sofa-boot-tests/pom.xml +++ b/sofa-boot-tests/pom.xml @@ -67,16 +67,14 @@ - org.sonatype.central - central-publishing-maven-plugin - ${central-publishing-maven-plugin.version} - true + org.sonatype.plugins + nexus-staging-maven-plugin + ${maven.staging.plugin} - true + true - org.apache.maven.plugins maven-javadoc-plugin