You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2006/12/02 21:27:28 UTC
svn commit: r481621 - /geronimo/genesis/trunk/build-harness/bin/maven.groovy
Author: jdillon
Date: Sat Dec 2 12:27:27 2006
New Revision: 481621
URL: http://svn.apache.org/viewvc?view=rev&rev=481621
Log:
System.exit(1) when we catch an exception
Modified:
geronimo/genesis/trunk/build-harness/bin/maven.groovy
Modified: geronimo/genesis/trunk/build-harness/bin/maven.groovy
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/build-harness/bin/maven.groovy?view=diff&rev=481621&r1=481620&r2=481621
==============================================================================
--- geronimo/genesis/trunk/build-harness/bin/maven.groovy (original)
+++ geronimo/genesis/trunk/build-harness/bin/maven.groovy Sat Dec 2 12:27:27 2006
@@ -100,7 +100,14 @@
throw new Exception("Missing pom")
}
- maven(pom, args)
+ try {
+ maven(pom, args)
+ }
+ catch (Throwable t) {
+ println "ERROR: ${t}"
+ t.printStackTrace()
+ System.exit(1)
+ }
}
def maven(pom, args) {