Skip to content

Commit 6713f4a

Browse files
Copilotentrusc
andcommitted
Migrate from old OSS Sonatype to new Maven Central deployment
Co-authored-by: entrusc <2729000+entrusc@users.noreply.github.com>
1 parent 3b0290d commit 6713f4a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
<distributionManagement>
4545
<snapshotRepository>
4646
<id>ossrh</id>
47-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
47+
<url>https://central.sonatype.com/</url>
4848
</snapshotRepository>
4949
<repository>
5050
<id>ossrh</id>
51-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
51+
<url>https://central.sonatype.com/</url>
5252
</repository>
5353
</distributionManagement>
5454

@@ -80,14 +80,14 @@
8080
<build>
8181
<plugins>
8282
<plugin>
83-
<groupId>org.sonatype.plugins</groupId>
84-
<artifactId>nexus-staging-maven-plugin</artifactId>
85-
<version>1.7.0</version>
83+
<groupId>org.sonatype.central</groupId>
84+
<artifactId>central-publishing-maven-plugin</artifactId>
85+
<version>0.7.0</version>
8686
<extensions>true</extensions>
8787
<configuration>
88-
<serverId>ossrh</serverId>
89-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
90-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
88+
<publishingServerId>ossrh</publishingServerId>
89+
<autoPublish>true</autoPublish>
90+
<waitUntil>published</waitUntil>
9191
</configuration>
9292
</plugin>
9393
<plugin>

0 commit comments

Comments
 (0)