Release plugin fixes: add -DskipTests to the arguments, use clean install as preparation goals, don't push changes, use local checkout, add default tag name format, update release, deploy, and install plugins to latest versions

This commit is contained in:
Andreas Gudian 2014-11-28 15:32:11 +01:00
parent 7390f213ee
commit 66bbffe0be

View File

@ -45,7 +45,7 @@
<org.apache.maven.plugins.enforcer.version>1.2</org.apache.maven.plugins.enforcer.version>
<org.apache.maven.plugins.surefire.version>2.17</org.apache.maven.plugins.surefire.version>
<org.springframework.version>4.0.3.RELEASE</org.springframework.version>
<add.release.arguments></add.release.arguments>
<forkCount>1</forkCount>
</properties>
@ -279,7 +279,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -297,7 +297,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.4</version>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -315,8 +315,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
<version>2.5.1</version>
<configuration>
<arguments>-Psonatype-oss-release -DskipTests ${add.release.arguments}</arguments>
<preparationGoals>clean install</preparationGoals>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
<tagNameFormat>@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>