geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r481621 - /geronimo/genesis/trunk/build-harness/bin/maven.groovy
Date Sat, 02 Dec 2006 20:27:28 GMT
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) {



Mime
View raw message