Skip to content

Commit 84d93ed

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent a0c6998 commit 84d93ed

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@
160160
<groupId>org.apache.maven.plugins</groupId>
161161
<artifactId>maven-release-plugin</artifactId>
162162
<version>3.0.1</version>
163+
<configuration>
164+
<releaseProfiles>release</releaseProfiles>
165+
</configuration>
163166
</plugin>
164167
<plugin>
165168
<groupId>org.apache.maven.plugins</groupId>
@@ -432,6 +435,20 @@
432435
</dependency>
433436
</dependencies>
434437
</profile>
438+
439+
<profile>
440+
<id>release</id>
441+
<build>
442+
<plugins>
443+
<plugin>
444+
<groupId>org.sonatype.central</groupId>
445+
<artifactId>central-publishing-maven-plugin</artifactId>
446+
<version>0.7.0</version>
447+
<extensions>true</extensions>
448+
</plugin>
449+
</plugins>
450+
</build>
451+
</profile>
435452

436453
</profiles>
437454

0 commit comments

Comments
 (0)