Author: slebresne
Date: Mon May 23 18:32:00 2011
New Revision: 1126639
URL: http://svn.apache.org/viewvc?rev=1126639&view=rev
Log:
Make the release build fail if the publish to central repository also fails
patch by stephenc; reviewed by slebresne for CASSANDRA-2690
Modified:
cassandra/branches/cassandra-0.7/build.xml
Modified: cassandra/branches/cassandra-0.7/build.xml
URL:
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/build.xml?rev=1126639&r1=1126638&r2=1126639&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/build.xml (original)
+++ cassandra/branches/cassandra-0.7/build.xml Mon May 23 18:32:00 2011
@@ -237,7 +237,7 @@ url=${svn.entry.url}?pathrev=${svn.entry
<attribute name="classifier" default=""/>
<attribute name="packaging" default="jar"/>
<sequential>
- <artifact:mvn mavenVersion="${maven.version}" fork="true">
+ <artifact:mvn mavenVersion="${maven.version}" fork="true"
failonerror="true">
<arg
value="org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file" />
<arg value="-DpomFile=@{pomFile}" />
<arg value="-Dfile=@{file}" />
@@ -253,7 +253,7 @@ url=${svn.entry.url}?pathrev=${svn.entry
<attribute name="classifier" default=""/>
<attribute name="packaging" default="jar"/>
<sequential>
- <artifact:mvn mavenVersion="${maven.version}" fork="true">
+ <artifact:mvn mavenVersion="${maven.version}" fork="true"
failonerror="true">
<jvmarg value="-Xmx512m"/>
<arg
value="org.apache.maven.plugins:maven-gpg-plugin:1.2:sign-and-deploy-file" />
<arg value="-Durl=${maven-repository-url}" />