@@ -261,15 +261,12 @@ limitations under the License.
261261 </configuration >
262262 </plugin >
263263 <plugin >
264- <groupId >org.sonatype.plugins</groupId >
265- <artifactId >nexus-staging-maven-plugin</artifactId >
266- <version >1.7.0</version >
267- <extensions >true</extensions >
264+ <groupId >org.sonatype.central</groupId >
265+ <artifactId >central-publishing-maven-plugin</artifactId >
268266 <configuration >
269- <serverId >sonatype-new</serverId >
270- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
271- <autoReleaseAfterClose >true</autoReleaseAfterClose >
272- <keepStagingRepositoryOnFailure >true</keepStagingRepositoryOnFailure >
267+ <deploymentName >Spring Modulith ${project.version} </deploymentName >
268+ <publishingServerId >central-ossrh</publishingServerId >
269+ <autoPublish >true</autoPublish >
273270 </configuration >
274271 </plugin >
275272 </plugins >
@@ -536,6 +533,12 @@ limitations under the License.
536533 <artifactId >exec-maven-plugin</artifactId >
537534 <version >3.5.0</version >
538535 </plugin >
536+ <plugin >
537+ <groupId >org.sonatype.central</groupId >
538+ <artifactId >central-publishing-maven-plugin</artifactId >
539+ <version >0.8.0</version >
540+ <extensions >true</extensions >
541+ </plugin >
539542 </plugins >
540543 </pluginManagement >
541544
@@ -649,7 +652,7 @@ limitations under the License.
649652 <url >https://github.com/spring-projects/spring-modulith</url >
650653 <connection >scm:git:https://github.com/spring-projects/spring-modulith</connection >
651654 <developerConnection >scm:git:ssh://git@github.com/spring-projects-experimental/spring-modulith</developerConnection >
652- <tag >main </tag >
655+ <tag >1.4.x </tag >
653656 </scm >
654657
655658 <repositories >
0 commit comments