Skip to content

Commit 4dbebf8

Browse files
committed
Add plugin configuration to maven-release-plugin
1 parent fa8cf5e commit 4dbebf8

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,19 @@
390390
<arguments>-Psonatype-oss-release ${arguments}</arguments>
391391
</configuration>
392392
</plugin>
393+
<!--This plugin configuration is present to override the configuration specified in the
394+
parent's pom.xml.
395+
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
396+
<plugin>
397+
<groupId>org.apache.maven.plugins</groupId>
398+
<artifactId>maven-release-plugin</artifactId>
399+
<version>2.1</version>
400+
<configuration>
401+
<mavenExecutorId>forked-path</mavenExecutorId>
402+
<useReleaseProfile>true</useReleaseProfile>
403+
<arguments>-Psonatype-oss-release ${arguments}</arguments>
404+
</configuration>
405+
</plugin>
393406
<plugin>
394407
<artifactId>maven-assembly-plugin</artifactId>
395408
<version>2.2</version>

0 commit comments

Comments
 (0)