Skip to content

Commit e9c89ab

Browse files
committed
ci: add central-publishing-maven-plugin
1 parent a7bb788 commit e9c89ab

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

pom.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@
232232
<groupId>org.apache.maven.plugins</groupId>
233233
<artifactId>maven-release-plugin</artifactId>
234234
<version>3.0.1</version>
235+
<configuration>
236+
<releaseProfiles>release</releaseProfiles>
237+
</configuration>
235238
</plugin>
236239
<plugin>
237240
<groupId>org.apache.maven.plugins</groupId>
@@ -387,8 +390,22 @@
387390
<scope>provided</scope>
388391
</dependency>
389392
</dependencies>
390-
391393
</profile>
392394

395+
396+
<profile>
397+
<id>release</id>
398+
<build>
399+
<plugins>
400+
<plugin>
401+
<groupId>org.sonatype.central</groupId>
402+
<artifactId>central-publishing-maven-plugin</artifactId>
403+
<version>0.7.0</version>
404+
<extensions>true</extensions>
405+
</plugin>
406+
</plugins>
407+
</build>
408+
</profile>
409+
393410
</profiles>
394411
</project>

0 commit comments

Comments
 (0)