Skip to content

Commit 2946032

Browse files
committed
Add Maven Central Portal publishing plugin
1 parent 925ba1f commit 2946032

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@
184184
<artifactId>maven-release-plugin</artifactId>
185185
<version>3.1.1</version>
186186
</plugin>
187+
<plugin>
188+
<groupId>org.sonatype.central</groupId>
189+
<artifactId>central-publishing-maven-plugin</artifactId>
190+
<version>0.7.0</version>
191+
<extensions>true</extensions>
192+
</plugin>
187193
</plugins>
188194
</pluginManagement>
189195

@@ -334,6 +340,16 @@
334340
<releaseProfiles>expath-release-sign-artifacts</releaseProfiles>
335341
</configuration>
336342
</plugin>
343+
<plugin>
344+
<groupId>org.sonatype.central</groupId>
345+
<artifactId>central-publishing-maven-plugin</artifactId>
346+
<configuration>
347+
<publishingServerId>central</publishingServerId>
348+
<deploymentName>${project.artifactId}</deploymentName>
349+
<failOnBuildFailure>true</failOnBuildFailure>
350+
<waitUntil>validated</waitUntil>
351+
</configuration>
352+
</plugin>
337353
</plugins>
338354
</build>
339355

0 commit comments

Comments
 (0)