Skip to content

Commit e6e207e

Browse files
committed
Adding central-publishing plugin to override the default maven-deploy.
1 parent 0a5398d commit e6e207e

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
@@ -370,6 +370,17 @@
370370
<groupId>org.apache.maven.plugins</groupId>
371371
<artifactId>maven-antrun-plugin</artifactId>
372372
</plugin>
373+
<plugin>
374+
<groupId>org.sonatype.central</groupId>
375+
<artifactId>central-publishing-maven-plugin</artifactId>
376+
<version>0.8.0</version>
377+
<extensions>true</extensions>
378+
<configuration>
379+
<publishingServerId>sonatype.release</publishingServerId>
380+
<autoPublish>false</autoPublish>
381+
<ignorePublishedComponents>true</ignorePublishedComponents>
382+
</configuration>
383+
</plugin>
373384
</plugins>
374385
</build>
375386
<profiles>
@@ -486,7 +497,7 @@
486497
</goals>
487498
</execution>
488499
</executions>
489-
</plugin>
500+
</plugin>
490501
</plugins>
491502
</build>
492503

0 commit comments

Comments
 (0)