Skip to content

Commit 054f3d2

Browse files
dmercurialidennis.mercuriali
andauthored
switch to central sonatype (#202)
* switch to central sonatype * Update pom.xml --------- Co-authored-by: dennis.mercuriali <dennis.mercuriali@diennea.com>
1 parent 4f3b09f commit 054f3d2

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
@@ -282,7 +282,7 @@
282282
<distributionManagement>
283283
<snapshotRepository>
284284
<id>ossrh</id>
285-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
285+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
286286
</snapshotRepository>
287287
</distributionManagement>
288288
<build>
@@ -315,14 +315,14 @@
315315
</configuration>
316316
</plugin>
317317
<plugin>
318-
<groupId>org.sonatype.plugins</groupId>
319-
<artifactId>nexus-staging-maven-plugin</artifactId>
320-
<version>1.6.13</version>
318+
<groupId>org.sonatype.central</groupId>
319+
<artifactId>central-publishing-maven-plugin</artifactId>
320+
<version>0.8.0</version>
321321
<extensions>true</extensions>
322322
<configuration>
323-
<serverId>ossrh</serverId>
324-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
325-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
323+
<publishingServerId>ossrh</publishingServerId>
324+
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
325+
<autoPublish>true</autoPublish>
326326
</configuration>
327327
</plugin>
328328
<plugin>
@@ -378,4 +378,4 @@
378378
</modules>
379379
</profile>
380380
</profiles>
381-
</project>
381+
</project>

0 commit comments

Comments
 (0)