Skip to content

Commit 3237d7e

Browse files
committed
Swap to central-publishing-maven-plugin
1 parent 354fb5e commit 3237d7e

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

pom.xml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,13 @@
258258
<build>
259259
<plugins>
260260
<plugin>
261-
<groupId>org.sonatype.plugins</groupId>
262-
<artifactId>nexus-staging-maven-plugin</artifactId>
263-
<version>${nexus-staging-maven-plugin.version}</version>
261+
<groupId>org.sonatype.central</groupId>
262+
<artifactId>central-publishing-maven-plugin</artifactId>
263+
<version>0.8.0</version>
264264
<extensions>true</extensions>
265265
<configuration>
266-
<serverId>ossrh</serverId>
267-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
268-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
266+
<publishingServerId>central</publishingServerId>
267+
<autoPublish>true</autoPublish>
269268
</configuration>
270269
</plugin>
271270
<plugin>
@@ -296,15 +295,5 @@
296295
<url>https://github.com/alfasoftware/astra</url>
297296
<tag>HEAD</tag>
298297
</scm>
299-
300-
<distributionManagement>
301-
<snapshotRepository>
302-
<id>ossrh</id>
303-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
304-
</snapshotRepository>
305-
<repository>
306-
<id>ossrh</id>
307-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
308-
</repository>
309-
</distributionManagement>
298+
310299
</project>

0 commit comments

Comments
 (0)