Skip to content

Commit

Permalink
Add plugin configuration to maven-release-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
neozwu committed Oct 2, 2017
1 parent f590b3a commit 73337e9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,19 @@
<arguments>-Psonatype-oss-release ${arguments}</arguments>
</configuration>
</plugin>
<!--This plugin configuration is present to override the configuration specified in the
parent's pom.xml.
This is a workaround for known bug: https://issues.sonatype.org/browse/CENTRALSRV-35 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>true</useReleaseProfile>
<arguments>-Psonatype-oss-release ${arguments}</arguments>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
Expand Down

0 comments on commit 73337e9

Please sign in to comment.