Skip to content

Commit 1c575c0

Browse files
committed
ci: add central-publishing-maven-plugin
1 parent d5c1167 commit 1c575c0

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
<version>3.0.1</version>
167167
<configuration>
168168
<tagNameFormat>@{project.version}</tagNameFormat>
169+
<releaseProfiles>release</releaseProfiles>
169170
</configuration>
170171
</plugin>
171172
<plugin>
@@ -492,7 +493,21 @@
492493
</plugins>
493494
</build>
494495
</profile>
495-
496+
497+
<profile>
498+
<id>release</id>
499+
<build>
500+
<plugins>
501+
<plugin>
502+
<groupId>org.sonatype.central</groupId>
503+
<artifactId>central-publishing-maven-plugin</artifactId>
504+
<version>0.7.0</version>
505+
<extensions>true</extensions>
506+
</plugin>
507+
</plugins>
508+
</build>
509+
</profile>
510+
496511
</profiles>
497512

498513
</project>

0 commit comments

Comments
 (0)