Skip to content

Commit d6e1010

Browse files
committed
Add plugin configuration to maven-release-plugin
1 parent bcfa001 commit d6e1010

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,19 @@
338338
<arguments>-Psonatype-oss-release ${arguments}</arguments>
339339
</configuration>
340340
</plugin>
341+
<!--This plugin configuration is present to override the configuration specified in the
342+
parent's pom.xml.
343+
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
344+
<plugin>
345+
<groupId>org.apache.maven.plugins</groupId>
346+
<artifactId>maven-release-plugin</artifactId>
347+
<version>2.1</version>
348+
<configuration>
349+
<mavenExecutorId>forked-path</mavenExecutorId>
350+
<useReleaseProfile>true</useReleaseProfile>
351+
<arguments>-Psonatype-oss-release ${arguments}</arguments>
352+
</configuration>
353+
</plugin>
341354
<plugin>
342355
<artifactId>maven-assembly-plugin</artifactId>
343356
<version>2.2</version>

0 commit comments

Comments
 (0)