Skip to content

Commit e2dfd88

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent b613618 commit e2dfd88

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@
160160
<version>3.0.1</version>
161161
<configuration>
162162
<tagNameFormat>@{project.version}</tagNameFormat>
163+
<releaseProfiles>release</releaseProfiles>
163164
</configuration>
164165
</plugin>
165166
<plugin>
@@ -486,6 +487,20 @@
486487
</plugins>
487488
</build>
488489
</profile>
490+
491+
<profile>
492+
<id>release</id>
493+
<build>
494+
<plugins>
495+
<plugin>
496+
<groupId>org.sonatype.central</groupId>
497+
<artifactId>central-publishing-maven-plugin</artifactId>
498+
<version>0.7.0</version>
499+
<extensions>true</extensions>
500+
</plugin>
501+
</plugins>
502+
</build>
503+
</profile>
489504

490505
</profiles>
491506

0 commit comments

Comments
 (0)