Skip to content

Commit 133c413

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent 62e0045 commit 133c413

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>
@@ -485,6 +486,20 @@
485486
</plugins>
486487
</build>
487488
</profile>
489+
490+
<profile>
491+
<id>release</id>
492+
<build>
493+
<plugins>
494+
<plugin>
495+
<groupId>org.sonatype.central</groupId>
496+
<artifactId>central-publishing-maven-plugin</artifactId>
497+
<version>0.7.0</version>
498+
<extensions>true</extensions>
499+
</plugin>
500+
</plugins>
501+
</build>
502+
</profile>
488503

489504
</profiles>
490505

0 commit comments

Comments
 (0)