Skip to content

Commit 1dd8365

Browse files
committed
GH-1309 - Switch to Maven Central deployment.
1 parent 909f9ac commit 1dd8365

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

pom.xml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,12 @@ limitations under the License.
258258
</configuration>
259259
</plugin>
260260
<plugin>
261-
<groupId>org.sonatype.plugins</groupId>
262-
<artifactId>nexus-staging-maven-plugin</artifactId>
263-
<version>1.7.0</version>
264-
<extensions>true</extensions>
261+
<groupId>org.sonatype.central</groupId>
262+
<artifactId>central-publishing-maven-plugin</artifactId>
265263
<configuration>
266-
<serverId>sonatype-new</serverId>
267-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
268-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
269-
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
264+
<deploymentName>Spring Modulith ${project.version}</deploymentName>
265+
<publishingServerId>central-ossrh</publishingServerId>
266+
<autoPublish>true</autoPublish>
270267
</configuration>
271268
</plugin>
272269
</plugins>
@@ -533,6 +530,12 @@ limitations under the License.
533530
<artifactId>exec-maven-plugin</artifactId>
534531
<version>3.5.0</version>
535532
</plugin>
533+
<plugin>
534+
<groupId>org.sonatype.central</groupId>
535+
<artifactId>central-publishing-maven-plugin</artifactId>
536+
<version>1.7.0</version>
537+
<extensions>true</extensions>
538+
</plugin>
536539
</plugins>
537540
</pluginManagement>
538541

@@ -646,7 +649,7 @@ limitations under the License.
646649
<url>https://github.com/spring-projects/spring-modulith</url>
647650
<connection>scm:git:https://github.com/spring-projects/spring-modulith</connection>
648651
<developerConnection>scm:git:ssh://git@github.com/spring-projects-experimental/spring-modulith</developerConnection>
649-
<tag>1.3.0</tag>
652+
<tag>1.3.x</tag>
650653
</scm>
651654

652655
<repositories>

settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<servers>
66

77
<server>
8-
<id>sonatype-new</id>
8+
<id>central-ossrh</id>
99
<username>${env.SONATYPE_USER}</username>
1010
<password>${env.SONATYPE_PASSWORD}</password>
1111
</server>

0 commit comments

Comments
 (0)