[UIMA-3557] add failonerror to certain ant tasks
git-svn-id: https://svn.apache.org/repos/asf/uima/build/trunk/parent-pom@1559229 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index d102006..5a6f5e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -829,7 +829,7 @@
<checksum format="MD5SUM" algorithm="sha1" file="${source-release}" />
<checksum format="MD5SUM" algorithm="md5" file="${source-release}" />
<echo message="Generating gpg signatures for source-release.zip" />
- <exec executable="gpg">
+ <exec executable="gpg" failonerror="true">
<arg value="--detach-sign" />
<arg value="--armor" />
<arg value="--batch" />
@@ -1709,7 +1709,7 @@
<echo>checking out eclipse update subsite ${eclipseUpdateSiteComponent} from dist ...release...</echo>
<delete dir="${eclipseUpdateSubSite}" quiet="true" />
- <exec executable="svn">
+ <exec executable="svn" failonerror="true">
<arg value="checkout" />
<arg value="${distsvnroot}repos/dist/release/uima/eclipse-update-site/${eclipseUpdateSiteComponent}" />
<arg value="${eclipseUpdateSubSite}" />
@@ -1747,7 +1747,7 @@
</java>
<!-- copy also the original unpacked jars to the subsite in the plugins dir -->
- <copy todir="${eusWork}/plugins">
+ <copy todir="${eusWork}/plugins" failonerror="true">
<fileset dir="${toBePacked}" />
</copy>
@@ -1827,7 +1827,7 @@
</checksum>
<echo message="Generating gpg signatures for new features and plugins" />
- <apply executable="gpg" dir="${eusWork}">
+ <apply executable="gpg" dir="${eusWork}" failonerror="true">
<arg value="--detach-sign" />
<arg value="--armor" />
<!-- batch flag needed to avoid gpg hang up -->
@@ -1839,7 +1839,7 @@
</apply>
<echo message="Copying the checksums and signatures to the update subsite" />
- <copy todir="${eclipseUpdateSubSite}">
+ <copy todir="${eclipseUpdateSubSite}" failonerror="true">
<fileset dir="${eusWork}">
<include name="**/*.asc" />
<include name="**/*.md5" />
@@ -1868,7 +1868,7 @@
</checksum>
<echo message="Generating gpg signatures for artifacts.jar and content.jar" />
- <apply executable="gpg" dir="${eclipseUpdateSubSite}">
+ <apply executable="gpg" dir="${eclipseUpdateSubSite}" failonerror="true">
<arg value="--detach-sign" />
<arg value="--armor" />
<!-- batch flag needed to avoid gpg hang up -->