Skip to content

Commit 7bcabaa

Browse files
committed
Update publishing process for new Maven Central portal
1 parent f59578a commit 7bcabaa

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

pom.xml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,6 @@
460460
<name>XML-RPC directory on ws.apache.org</name>
461461
<url>${xmlrpc.www.url}</url>
462462
</site>
463-
<repository>
464-
<id>sonatype-nexus-staging</id>
465-
<name>Nexus Release Repository</name>
466-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
467-
</repository>
468463
</distributionManagement>
469464

470465
<profiles>
@@ -632,6 +627,18 @@
632627
</execution>
633628
</executions>
634629
</plugin>
630+
<plugin>
631+
<groupId>org.sonatype.central</groupId>
632+
<artifactId>central-publishing-maven-plugin</artifactId>
633+
<version>0.8.0</version>
634+
<extensions>true</extensions>
635+
<configuration>
636+
<publishingServerId>central</publishingServerId>
637+
<deploymentName>${project.artifactId}-${project.version}</deploymentName>
638+
<failOnBuildFailure>true</failOnBuildFailure>
639+
<waitUntil>validated</waitUntil>
640+
</configuration>
641+
</plugin>
635642
</plugins>
636643
</build>
637644
</profile>

0 commit comments

Comments
 (0)