Skip to content

Commit 209e231

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent 582a37f commit 209e231

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
@@ -187,6 +187,9 @@
187187
<groupId>org.apache.maven.plugins</groupId>
188188
<artifactId>maven-release-plugin</artifactId>
189189
<version>3.0.1</version>
190+
<configuration>
191+
<releaseProfiles>release</releaseProfiles>
192+
</configuration>
190193
</plugin>
191194
<plugin>
192195
<groupId>org.apache.maven.plugins</groupId>
@@ -564,6 +567,20 @@
564567
</dependency>
565568
</dependencies>
566569
</profile>
570+
571+
<profile>
572+
<id>release</id>
573+
<build>
574+
<plugins>
575+
<plugin>
576+
<groupId>org.sonatype.central</groupId>
577+
<artifactId>central-publishing-maven-plugin</artifactId>
578+
<version>0.7.0</version>
579+
<extensions>true</extensions>
580+
</plugin>
581+
</plugins>
582+
</build>
583+
</profile>
567584

568585
</profiles>
569586

0 commit comments

Comments
 (0)