Skip to content

Commit 73337e9

Browse files
committed
Add plugin configuration to maven-release-plugin
1 parent f590b3a commit 73337e9

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
@@ -330,6 +330,19 @@
330330
<arguments>-Psonatype-oss-release ${arguments}</arguments>
331331
</configuration>
332332
</plugin>
333+
<!--This plugin configuration is present to override the configuration specified in the
334+
parent's pom.xml.
335+
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
336+
<plugin>
337+
<groupId>org.apache.maven.plugins</groupId>
338+
<artifactId>maven-release-plugin</artifactId>
339+
<version>2.1</version>
340+
<configuration>
341+
<mavenExecutorId>forked-path</mavenExecutorId>
342+
<useReleaseProfile>true</useReleaseProfile>
343+
<arguments>-Psonatype-oss-release ${arguments}</arguments>
344+
</configuration>
345+
</plugin>
333346
<plugin>
334347
<artifactId>maven-clean-plugin</artifactId>
335348
<version>2.4.1</version>

0 commit comments

Comments
 (0)