mirror of https://github.com/apache/cassandra
Make the release build fail if the publish to central repository also fails
patch by stephenc; reviewed by slebresne for CASSANDRA-2690 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1126639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b5dc278d1
commit
8becda0810
|
|
@ -237,7 +237,7 @@ url=${svn.entry.url}?pathrev=${svn.entry.commit.revision}
|
|||
<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.commit.revision}
|
|||
<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}" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue