Skip to content

Commit 447d71b

Browse files
authored
ci: add central-publishing-maven-plugin
1 parent 334ba81 commit 447d71b

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
@@ -162,6 +162,9 @@
162162
<groupId>org.apache.maven.plugins</groupId>
163163
<artifactId>maven-release-plugin</artifactId>
164164
<version>3.0.1</version>
165+
<configuration>
166+
<releaseProfiles>release</releaseProfiles>
167+
</configuration>
165168
</plugin>
166169
<plugin>
167170
<groupId>org.apache.maven.plugins</groupId>
@@ -457,6 +460,20 @@
457460
</build>
458461
</profile>
459462

463+
<profile>
464+
<id>release</id>
465+
<build>
466+
<plugins>
467+
<plugin>
468+
<groupId>org.sonatype.central</groupId>
469+
<artifactId>central-publishing-maven-plugin</artifactId>
470+
<version>0.7.0</version>
471+
<extensions>true</extensions>
472+
</plugin>
473+
</plugins>
474+
</build>
475+
</profile>
476+
460477
</profiles>
461478

462479
</project>

0 commit comments

Comments
 (0)