diff --git a/.settings.xml b/.settings.xml index 747ba36e..99ba1153 100644 --- a/.settings.xml +++ b/.settings.xml @@ -4,7 +4,7 @@ http://maven.apache.org/xsd/settings-1.0.0.xsd"> - ossrh + central ${env.SONATYPE_USERTOKEN} ${env.SONATYPE_USERTOKENPASSWORD} diff --git a/pom.xml b/pom.xml index 4a0f0fb1..b365232c 100644 --- a/pom.xml +++ b/pom.xml @@ -49,7 +49,7 @@ 9.0.1 3.1.1 0.6.3 - 3.1.3 + 0.7.0 3.2.7 3.11.2 3.3.1 @@ -139,17 +139,6 @@ org.jacoco ${jacoco-maven-plugin.version} - - nexus-staging-maven-plugin - - true - https://oss.sonatype.org/ - ossrh - - true - org.sonatype.plugins - ${nexus-staging-maven-plugin.version} - maven-source-plugin @@ -190,9 +179,13 @@ ${spring-boot.version} - maven-deploy-plugin - org.apache.maven.plugins - ${maven-deploy-plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${maven-central-publishing-plugin.version} + true + + central + com.diffplug.spotless @@ -288,14 +281,9 @@ - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - + central-portal-snapshots + https://central.sonatype.com/repository/maven-snapshots/ - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - de.codecentric