Skip to content

Commit b63aeed

Browse files
committed
Migrate maven upload from via Legacy OSSRH to Central Publisher Portal
1 parent 196d725 commit b63aeed

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

pom.xml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
</dependencies>
4646
<distributionManagement>
4747
<snapshotRepository>
48-
<id>ossrh</id>
49-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
48+
<id>central</id>
49+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
5050
</snapshotRepository>
5151
</distributionManagement>
5252
<build>
@@ -61,14 +61,12 @@
6161
</configuration>
6262
</plugin>
6363
<plugin>
64-
<groupId>org.sonatype.plugins</groupId>
65-
<artifactId>nexus-staging-maven-plugin</artifactId>
66-
<version>1.7.0</version>
64+
<groupId>org.sonatype.central</groupId>
65+
<artifactId>central-publishing-maven-plugin</artifactId>
66+
<version>0.7.0</version>
6767
<extensions>true</extensions>
6868
<configuration>
69-
<serverId>ossrh</serverId>
70-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
71-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
69+
<publishingServerId>central</publishingServerId>
7270
</configuration>
7371
</plugin>
7472
<plugin>

0 commit comments

Comments
 (0)