Skip to content

Commit eb45bc1

Browse files
committed
Add Maven Central as release target.
1 parent c69b22c commit eb45bc1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pom.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100

101101
<distributionManagement>
102102
<snapshotRepository>
103-
<id>ossrh</id>
104-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
103+
<id>central-portal-snapshots</id>
104+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
105105
</snapshotRepository>
106106
</distributionManagement>
107107

@@ -439,13 +439,12 @@
439439
</executions>
440440
</plugin>
441441
<plugin>
442-
<groupId>org.sonatype.plugins</groupId>
443-
<artifactId>nexus-staging-maven-plugin</artifactId>
442+
<groupId>org.sonatype.central</groupId>
443+
<artifactId>central-publishing-maven-plugin</artifactId>
444+
<version>0.7.0</version>
444445
<extensions>true</extensions>
445446
<configuration>
446-
<serverId>ossrh</serverId>
447-
<nexusUrl>https://aws.oss.sonatype.org</nexusUrl>
448-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
447+
<publishingServerId>central</publishingServerId>
449448
</configuration>
450449
</plugin>
451450
</plugins>

0 commit comments

Comments
 (0)