Skip to content

Commit 6e58527

Browse files
committed
Adding central-publishing plugin to override the default maven-deploy.
1 parent 63dc2ec commit 6e58527

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,17 @@
363363
<groupId>org.apache.maven.plugins</groupId>
364364
<artifactId>maven-antrun-plugin</artifactId>
365365
</plugin>
366+
<plugin>
367+
<groupId>org.sonatype.central</groupId>
368+
<artifactId>central-publishing-maven-plugin</artifactId>
369+
<version>0.8.0</version>
370+
<extensions>true</extensions>
371+
<configuration>
372+
<publishingServerId>sonatype.release</publishingServerId>
373+
<autoPublish>false</autoPublish>
374+
<ignorePublishedComponents>true</ignorePublishedComponents>
375+
</configuration>
376+
</plugin>
366377
</plugins>
367378
</build>
368379
<profiles>
@@ -477,7 +488,7 @@
477488
</goals>
478489
</execution>
479490
</executions>
480-
</plugin>
491+
</plugin>
481492
</plugins>
482493
</build>
483494

0 commit comments

Comments
 (0)