Skip to content

Commit 1d1c181

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent ac52eda commit 1d1c181

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
@@ -170,6 +170,9 @@
170170
<groupId>org.apache.maven.plugins</groupId>
171171
<artifactId>maven-release-plugin</artifactId>
172172
<version>3.0.1</version>
173+
<configuration>
174+
<releaseProfiles>release</releaseProfiles>
175+
</configuration>
173176
</plugin>
174177
<plugin>
175178
<groupId>org.apache.maven.plugins</groupId>
@@ -551,6 +554,21 @@
551554
</dependency>
552555
</dependencies>
553556
</profile>
557+
558+
<profile>
559+
<id>release</id>
560+
<build>
561+
<plugins>
562+
<plugin>
563+
<groupId>org.sonatype.central</groupId>
564+
<artifactId>central-publishing-maven-plugin</artifactId>
565+
<version>0.7.0</version>
566+
<extensions>true</extensions>
567+
</plugin>
568+
</plugins>
569+
</build>
570+
</profile>
571+
554572
</profiles>
555573

556574
</project>

0 commit comments

Comments
 (0)