Skip to content

Commit 12adf4d

Browse files
committed
Add plugin configuration to maven-release-plugin
1 parent 65d3752 commit 12adf4d

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
@@ -289,6 +289,19 @@
289289
<artifactId>maven-assembly-plugin</artifactId>
290290
<version>2.2</version>
291291
</plugin>
292+
<!--This plugin configuration is present to override the configuration specified in the
293+
parent's pom.xml.
294+
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
295+
<plugin>
296+
<groupId>org.apache.maven.plugins</groupId>
297+
<artifactId>maven-release-plugin</artifactId>
298+
<version>2.1</version>
299+
<configuration>
300+
<mavenExecutorId>forked-path</mavenExecutorId>
301+
<useReleaseProfile>true</useReleaseProfile>
302+
<arguments>-Psonatype-oss-release ${arguments}</arguments>
303+
</configuration>
304+
</plugin>
292305
<plugin>
293306
<artifactId>maven-clean-plugin</artifactId>
294307
<version>2.4.1</version>

0 commit comments

Comments
 (0)