Skip to content

Commit b34c8b6

Browse files
committed
Update sonatype release plugin
1 parent 8d5c3b9 commit b34c8b6

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

pom.xml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -300,32 +300,21 @@
300300
<build>
301301
<plugins>
302302
<plugin>
303-
<groupId>org.sonatype.plugins</groupId>
304-
<artifactId>nexus-staging-maven-plugin</artifactId>
305-
<version>1.6.13</version>
303+
<groupId>org.sonatype.central</groupId>
304+
<artifactId>central-publishing-maven-plugin</artifactId>
305+
<version>0.9.0</version>
306306
<extensions>true</extensions>
307307
<configuration>
308-
<serverId>ossrh</serverId>
309-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
310-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
308+
<!-- Don't release the build directly after it's been published to Central (staging). -->
309+
<autoPublish>false</autoPublish>
310+
<!-- Central OSS Server -->
311+
<publishingServerId>ossrh</publishingServerId>
312+
<!-- Wait until the deployment bundle has been uploaded and validated. -->
313+
<waitUntil>validated</waitUntil>
311314
</configuration>
312315
</plugin>
313316
</plugins>
314317
</build>
315-
<distributionManagement>
316-
<repository>
317-
<id>ossrh</id>
318-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
319-
</repository>
320-
<snapshotRepository>
321-
<id>ossrh</id>
322-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
323-
</snapshotRepository>
324-
<site>
325-
<id>www.frankframework.org</id>
326-
<url>file:target/site-deploy</url>
327-
</site>
328-
</distributionManagement>
329318
</profile>
330319
</profiles>
331320
</project>

0 commit comments

Comments
 (0)