Skip to content

Commit febdafb

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent ebb80e0 commit febdafb

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
@@ -171,6 +171,7 @@
171171
<version>3.0.1</version>
172172
<configuration>
173173
<tagNameFormat>@{project.version}</tagNameFormat>
174+
<releaseProfiles>release</releaseProfiles>
174175
</configuration>
175176
</plugin>
176177
<plugin>
@@ -504,6 +505,20 @@
504505
</plugins>
505506
</build>
506507
</profile>
508+
509+
<profile>
510+
<id>release</id>
511+
<build>
512+
<plugins>
513+
<plugin>
514+
<groupId>org.sonatype.central</groupId>
515+
<artifactId>central-publishing-maven-plugin</artifactId>
516+
<version>0.7.0</version>
517+
<extensions>true</extensions>
518+
</plugin>
519+
</plugins>
520+
</build>
521+
</profile>
507522

508523
</profiles>
509524

0 commit comments

Comments
 (0)