Skip to content

Commit 6c8a334

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent 8da8841 commit 6c8a334

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
@@ -183,6 +183,7 @@
183183
<version>3.0.1</version>
184184
<configuration>
185185
<tagNameFormat>@{project.version}</tagNameFormat>
186+
<releaseProfiles>release</releaseProfiles>
186187
</configuration>
187188
</plugin>
188189
<plugin>
@@ -512,6 +513,20 @@
512513
</plugins>
513514
</build>
514515
</profile>
516+
517+
<profile>
518+
<id>release</id>
519+
<build>
520+
<plugins>
521+
<plugin>
522+
<groupId>org.sonatype.central</groupId>
523+
<artifactId>central-publishing-maven-plugin</artifactId>
524+
<version>0.7.0</version>
525+
<extensions>true</extensions>
526+
</plugin>
527+
</plugins>
528+
</build>
529+
</profile>
515530

516531
</profiles>
517532

0 commit comments

Comments
 (0)