Skip to content

Commit 140b84c

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent eec3326 commit 140b84c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
<version>3.0.1</version>
116116
<configuration>
117117
<tagNameFormat>@{project.version}</tagNameFormat>
118+
<releaseProfiles>release</releaseProfiles>
118119
</configuration>
119120
</plugin>
120121
<plugin>
@@ -257,6 +258,21 @@
257258
</plugins>
258259
</build>
259260
</profile>
261+
262+
<profile>
263+
<id>release</id>
264+
<build>
265+
<plugins>
266+
<plugin>
267+
<groupId>org.sonatype.central</groupId>
268+
<artifactId>central-publishing-maven-plugin</artifactId>
269+
<version>0.7.0</version>
270+
<extensions>true</extensions>
271+
</plugin>
272+
</plugins>
273+
</build>
274+
</profile>
275+
260276
</profiles>
261277

262278
<distributionManagement>

0 commit comments

Comments
 (0)