Skip to content

Commit 406b96a

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent ea13206 commit 406b96a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@
142142
<groupId>org.apache.maven.plugins</groupId>
143143
<artifactId>maven-release-plugin</artifactId>
144144
<version>3.0.1</version>
145+
<configuration>
146+
<releaseProfiles>release</releaseProfiles>
147+
</configuration>
145148
</plugin>
146149
<plugin>
147150
<groupId>org.apache.maven.plugins</groupId>
@@ -284,6 +287,21 @@
284287
</plugins>
285288
</build>
286289
</profile>
290+
291+
<profile>
292+
<id>release</id>
293+
<build>
294+
<plugins>
295+
<plugin>
296+
<groupId>org.sonatype.central</groupId>
297+
<artifactId>central-publishing-maven-plugin</artifactId>
298+
<version>0.7.0</version>
299+
<extensions>true</extensions>
300+
</plugin>
301+
</plugins>
302+
</build>
303+
</profile>
304+
287305
</profiles>
288306

289307
</project>

0 commit comments

Comments
 (0)