Skip to content

Commit 39187c9

Browse files
committed
Initial attempt at migrating to central-publishing-maven-plugin
1 parent 88af1bf commit 39187c9

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

pom.xml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,10 @@
3838
</ciManagement>
3939
<distributionManagement>
4040
<snapshotRepository>
41-
<id>ossrh</id>
42-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
41+
<name>Central Portal Snapshots</name>
42+
<id>central-portal-snapshots</id>
43+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
4344
</snapshotRepository>
44-
<repository>
45-
<id>ossrh</id>
46-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
47-
</repository>
4845
<site>
4946
<id>github-pages-site</id>
5047
<name>Deployment through GitHub's site deployment plugin</name>
@@ -246,14 +243,13 @@
246243
</executions>
247244
</plugin>
248245
<plugin>
249-
<groupId>org.sonatype.plugins</groupId>
250-
<artifactId>nexus-staging-maven-plugin</artifactId>
251-
<version>1.6.13</version>
246+
<groupId>org.sonatype.central</groupId>
247+
<artifactId>central-publishing-maven-plugin</artifactId>
248+
<version>0.4.0</version>
252249
<extensions>true</extensions>
253250
<configuration>
254-
<serverId>ossrh</serverId>
255-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
256-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
251+
<publishingServerId>central</publishingServerId>
252+
<tokenAuth>true</tokenAuth>
257253
</configuration>
258254
</plugin>
259255
</plugins>

0 commit comments

Comments
 (0)