Skip to content

Commit e49c108

Browse files
committed
Add plugin configuration to maven-release-plugin
1 parent 667d2f5 commit e49c108

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

0 commit comments

Comments
 (0)