Skip to content

Commit f6215ae

Browse files
committed
upgrade for new sonatype publishing
1 parent 1f40351 commit f6215ae

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

pom.xml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,11 @@
312312
<distributionManagement>
313313
<snapshotRepository>
314314
<id>ossrh</id>
315-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
315+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
316316
</snapshotRepository>
317317
<repository>
318318
<id>ossrh</id>
319-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
319+
<url>https://central.sonatype.com</url>
320320
</repository>
321321
</distributionManagement>
322322
<build>
@@ -330,14 +330,16 @@
330330
<artifactId>maven-source-plugin</artifactId>
331331
</plugin>
332332
<plugin>
333-
<groupId>org.sonatype.plugins</groupId>
334-
<artifactId>nexus-staging-maven-plugin</artifactId>
335-
<version>1.6.12</version>
333+
<groupId>org.sonatype.central</groupId>
334+
<artifactId>central-publishing-maven-plugin</artifactId>
335+
<version>0.7.0</version>
336336
<extensions>true</extensions>
337337
<configuration>
338-
<serverId>ossrh</serverId>
339-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
340-
<!--autoReleaseAfterClose>true</autoReleaseAfterClose-->
338+
<publishingServerId>ossrh</publishingServerId>
339+
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
340+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
341+
<autoPublish>true</autoPublish>
342+
<waitUntil>published</waitUntil>
341343
</configuration>
342344
</plugin>
343345
<plugin>
@@ -357,19 +359,7 @@
357359
</build>
358360
</profile>
359361

360-
<profile>
361-
<id>au</id>
362-
<activation>
363-
<activeByDefault>true</activeByDefault>
364-
</activation>
365-
<distributionManagement>
366-
<snapshotRepository>
367-
<id>au-artifactory-snapshots</id>
368-
<name>overture.au.dk-snapshots</name>
369-
<url>https://overture.au.dk/artifactory/into-cps</url>
370-
</snapshotRepository>
371-
</distributionManagement>
372-
</profile>
362+
373363

374364
</profiles>
375365

0 commit comments

Comments
 (0)