Skip to content

Commit 51112aa

Browse files
committed
Add Maven Central as release target.
1 parent 8066e03 commit 51112aa

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
@@ -110,8 +110,8 @@
110110

111111
<distributionManagement>
112112
<snapshotRepository>
113-
<id>ossrh</id>
114-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
113+
<id>central-portal-snapshots</id>
114+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
115115
</snapshotRepository>
116116
</distributionManagement>
117117

@@ -478,13 +478,12 @@
478478
</executions>
479479
</plugin>
480480
<plugin>
481-
<groupId>org.sonatype.plugins</groupId>
482-
<artifactId>nexus-staging-maven-plugin</artifactId>
481+
<groupId>org.sonatype.central</groupId>
482+
<artifactId>central-publishing-maven-plugin</artifactId>
483+
<version>0.7.0</version>
483484
<extensions>true</extensions>
484485
<configuration>
485-
<serverId>ossrh</serverId>
486-
<nexusUrl>https://aws.oss.sonatype.org</nexusUrl>
487-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
486+
<publishingServerId>central</publishingServerId>
488487
</configuration>
489488
</plugin>
490489
</plugins>

0 commit comments

Comments
 (0)