Skip to content

Commit 84864e2

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent 8beeef1 commit 84864e2

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@
167167
<version>3.0.1</version>
168168
<configuration>
169169
<tagNameFormat>@{project.version}</tagNameFormat>
170+
<releaseProfiles>release</releaseProfiles
170171
</configuration>
171172
</plugin>
172173
<plugin>
@@ -493,7 +494,20 @@
493494
</plugins>
494495
</build>
495496
</profile>
496-
497+
498+
<profile>
499+
<id>release</id>
500+
<build>
501+
<plugins>
502+
<plugin>
503+
<groupId>org.sonatype.central</groupId>
504+
<artifactId>central-publishing-maven-plugin</artifactId>
505+
<version>0.7.0</version>
506+
<extensions>true</extensions>
507+
</plugin>
508+
</plugins>
509+
</build>
510+
</profile>
497511
</profiles>
498512

499513
</project>

0 commit comments

Comments
 (0)