Skip to content

Commit ee7f162

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

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

pom.xml

Lines changed: 17 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,22 @@
492493
</plugins>
493494
</build>
494495
</profile>
495-
496+
497+
<profile>
498+
<id>release</id>
499+
<build>
500+
<plugin>
501+
<groupId>org.sonatype.central</groupId>
502+
<artifactId>central-publishing-maven-plugin</artifactId>
503+
<version>0.7.0</version>
504+
<extensions>true</extensions>
505+
<configuration>
506+
<publishingServerId>central-publisher-portal</publishingServerId>
507+
</configuration>
508+
</plugin>
509+
</build>
510+
</profile>
511+
496512
</profiles>
497513

498514
</project>

0 commit comments

Comments
 (0)