Skip to content

Commit 2dffd20

Browse files
committed
Add plugin configuration to maven-release-plugin
1 parent ae73977 commit 2dffd20

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
@@ -254,6 +254,19 @@
254254
<artifactId>build-helper-maven-plugin</artifactId>
255255
<version>1.5</version>
256256
</plugin>
257+
<!--This plugin configuration is present to override the configuration specified in the
258+
parent's pom.xml.
259+
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
260+
<plugin>
261+
<groupId>org.apache.maven.plugins</groupId>
262+
<artifactId>maven-release-plugin</artifactId>
263+
<version>2.1</version>
264+
<configuration>
265+
<mavenExecutorId>forked-path</mavenExecutorId>
266+
<useReleaseProfile>true</useReleaseProfile>
267+
<arguments>-Psonatype-oss-release ${arguments}</arguments>
268+
</configuration>
269+
</plugin>
257270
<plugin>
258271
<artifactId>maven-antrun-plugin</artifactId>
259272
<version>1.6</version>

0 commit comments

Comments
 (0)