Skip to content

Commit b24992e

Browse files
committed
update sonatype publishing
1 parent 47be650 commit b24992e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

pom.xml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
<distributionManagement>
5454
<snapshotRepository>
5555
<id>ossrh</id>
56-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
56+
<url>https://central.sonatype.com/snapshots</url>
5757
</snapshotRepository>
5858
<repository>
5959
<id>ossrh</id>
60-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
60+
<url>https://central.sonatype.com</url>
6161
</repository>
6262
</distributionManagement>
6363

@@ -190,16 +190,14 @@
190190
</executions>
191191
</plugin>
192192
<plugin>
193-
<groupId>org.sonatype.plugins</groupId>
194-
<artifactId>nexus-staging-maven-plugin</artifactId>
195-
<version>1.7.0</version>
193+
<groupId>org.sonatype.central</groupId>
194+
<artifactId>central-publishing-maven-plugin</artifactId>
195+
<version>0.8.0</version>
196196
<extensions>true</extensions>
197197
<configuration>
198-
<serverId>ossrh</serverId>
199-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
200-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
198+
<publishingServerId>ossrh</publishingServerId>
201199
</configuration>
202-
</plugin>
200+
</plugin>
203201
<plugin>
204202
<groupId>org.apache.maven.plugins</groupId>
205203
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)