Skip to content

Commit 8cdab4c

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent a82c471 commit 8cdab4c

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
@@ -240,6 +240,9 @@
240240
<groupId>org.apache.maven.plugins</groupId>
241241
<artifactId>maven-release-plugin</artifactId>
242242
<version>3.0.1</version>
243+
<configuration>
244+
<releaseProfiles>release</releaseProfiles>
245+
</configuration>
243246
</plugin>
244247
<plugin>
245248
<groupId>org.apache.maven.plugins</groupId>
@@ -580,6 +583,21 @@
580583
</plugins>
581584
</build>
582585
</profile>
586+
587+
<profile>
588+
<id>release</id>
589+
<build>
590+
<plugins>
591+
<plugin>
592+
<groupId>org.sonatype.central</groupId>
593+
<artifactId>central-publishing-maven-plugin</artifactId>
594+
<version>0.7.0</version>
595+
<extensions>true</extensions>
596+
</plugin>
597+
</plugins>
598+
</build>
599+
</profile>
600+
583601
</profiles>
584602

585603
</project>

0 commit comments

Comments
 (0)