Skip to content

Commit d7910ef

Browse files
chenejacbrianjlowe
authored andcommitted
Switch releasing from ossrh to maven central repository
1 parent 74a7ba8 commit d7910ef

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

pom.xml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,9 @@
188188
</executions>
189189
</plugin>
190190
<plugin>
191-
<groupId>org.sonatype.plugins</groupId>
191+
<groupId>org.sonatype.central</groupId>
192192
<artifactId>central-publishing-maven-plugin</artifactId>
193+
<version>0.6.0</version>
193194
<extensions>true</extensions>
194195
<configuration>
195196
<publishingServerId>central</publishingServerId>
@@ -437,11 +438,6 @@
437438
<artifactId>buildnumber-maven-plugin</artifactId>
438439
<version>1.4</version>
439440
</plugin>
440-
<plugin>
441-
<groupId>org.sonatype.plugins</groupId>
442-
<artifactId>central-publishing-maven-plugin</artifactId>
443-
<version>0.7.0</version>
444-
</plugin>
445441
</plugins>
446442
</pluginManagement>
447443
</build>
@@ -534,16 +530,10 @@
534530
<id>vivo-project</id>
535531
<url>https://vivo-project.github.io/</url>
536532
</site>
537-
<snapshotRepository>
533+
534+
<repository>
538535
<id>central</id>
539-
<name>Sonatype Central Snapshots</name>
540-
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
541-
<releases>
542-
<enabled>false</enabled>
543-
</releases>
544-
<snapshots>
545-
<enabled>true</enabled>
546-
</snapshots>
547-
</snapshotRepository>
536+
<url>https://central.sonatype.com/api/v1/publisher</url>
537+
</repository>
548538
</distributionManagement>
549539
</project>

0 commit comments

Comments
 (0)