Skip to content

Commit bcfa001

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

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
@@ -325,6 +325,19 @@
325325
<arguments>-Psonatype-oss-release ${arguments}</arguments>
326326
</configuration>
327327
</plugin>
328+
<!--This plugin configuration is present to override the configuration specified in the
329+
parent's pom.xml.
330+
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
331+
<plugin>
332+
<groupId>org.apache.maven.plugins</groupId>
333+
<artifactId>maven-release-plugin</artifactId>
334+
<version>2.1</version>
335+
<configuration>
336+
<mavenExecutorId>forked-path</mavenExecutorId>
337+
<useReleaseProfile>true</useReleaseProfile>
338+
<arguments>-Psonatype-oss-release ${arguments}</arguments>
339+
</configuration>
340+
</plugin>
328341
<plugin>
329342
<artifactId>maven-assembly-plugin</artifactId>
330343
<version>2.2</version>

0 commit comments

Comments
 (0)