diff --git a/.settings.xml b/.settings.xml index f6b8b3a8..cfa5bdfe 100644 --- a/.settings.xml +++ b/.settings.xml @@ -22,6 +22,11 @@ ${env.CI_DEPLOY_USERNAME} ${env.CI_DEPLOY_PASSWORD} + + cental + ${env.CENTRAL_USER} + ${env.CENTRAL_PASSWORD} + diff --git a/pom.xml b/pom.xml index 2c1d0cc0..11b1c3cf 100644 --- a/pom.xml +++ b/pom.xml @@ -144,6 +144,7 @@ prepare-package prepare-package generate-resources + 0.7.0 @@ -700,7 +701,12 @@ ${duplicate-finder-maven-plugin.includePomProjects} - + + org.sonatype.central + central-publishing-maven-plugin + ${central-publishing-maven-plugin.version} + true + @@ -749,11 +755,6 @@ scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-cloud/docs/${project.artifactId}/${project.version} - - sonatype-nexus-staging - Nexus Release Repository - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - repo.spring.io Spring Snapshot Repository @@ -856,6 +857,13 @@ + + org.sonatype.central + central-publishing-maven-plugin + + central + +