Skip to content

Commit b6ed973

Browse files
committed
Add plugin configuration to maven-release-plugin
1 parent 9d63c21 commit b6ed973

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
@@ -275,6 +275,19 @@
275275
<artifactId>build-helper-maven-plugin</artifactId>
276276
<version>1.5</version>
277277
</plugin>
278+
<!--This plugin configuration is present to override the configuration specified in the
279+
parent's pom.xml.
280+
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
281+
<plugin>
282+
<groupId>org.apache.maven.plugins</groupId>
283+
<artifactId>maven-release-plugin</artifactId>
284+
<version>2.1</version>
285+
<configuration>
286+
<mavenExecutorId>forked-path</mavenExecutorId>
287+
<useReleaseProfile>true</useReleaseProfile>
288+
<arguments>-Psonatype-oss-release ${arguments}</arguments>
289+
</configuration>
290+
</plugin>
278291
<plugin>
279292
<artifactId>maven-antrun-plugin</artifactId>
280293
<version>1.6</version>

0 commit comments

Comments
 (0)