@@ -264,15 +264,12 @@ limitations under the License.
264264 </configuration >
265265 </plugin >
266266 <plugin >
267- <groupId >org.sonatype.plugins</groupId >
268- <artifactId >nexus-staging-maven-plugin</artifactId >
269- <version >1.7.0</version >
270- <extensions >true</extensions >
267+ <groupId >org.sonatype.central</groupId >
268+ <artifactId >central-publishing-maven-plugin</artifactId >
271269 <configuration >
272- <serverId >sonatype-new</serverId >
273- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
274- <autoReleaseAfterClose >true</autoReleaseAfterClose >
275- <keepStagingRepositoryOnFailure >true</keepStagingRepositoryOnFailure >
270+ <deploymentName >Spring Modulith ${project.version} </deploymentName >
271+ <publishingServerId >central-ossrh</publishingServerId >
272+ <autoPublish >true</autoPublish >
276273 </configuration >
277274 </plugin >
278275 </plugins >
@@ -587,6 +584,12 @@ limitations under the License.
587584 <artifactId >exec-maven-plugin</artifactId >
588585 <version >3.5.0</version >
589586 </plugin >
587+ <plugin >
588+ <groupId >org.sonatype.central</groupId >
589+ <artifactId >central-publishing-maven-plugin</artifactId >
590+ <version >0.8.0</version >
591+ <extensions >true</extensions >
592+ </plugin >
590593 </plugins >
591594 </pluginManagement >
592595
@@ -700,7 +703,7 @@ limitations under the License.
700703 <url >https://github.com/spring-projects/spring-modulith</url >
701704 <connection >scm:git:https://github.com/spring-projects/spring-modulith</connection >
702705 <
developerConnection >scm:git:ssh://
[email protected] /spring-projects-experimental/spring-modulith</
developerConnection >
703- <tag >1.4.0 </tag >
706+ <tag >main </tag >
704707 </scm >
705708
706709 <repositories >
0 commit comments