From ab2bc483b2258ecc0543939e2beebf46255ef2f3 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Wed, 15 Sep 2004 11:04:52 +0000 Subject: [PATCH] make exceptions cause a failure response (and exit with a non-zero exit code) git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163079 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/ExecutionResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-core/src/main/java/org/apache/maven/ExecutionResponse.java b/maven-core/src/main/java/org/apache/maven/ExecutionResponse.java index dfa0b0319f..777d3fc475 100644 --- a/maven-core/src/main/java/org/apache/maven/ExecutionResponse.java +++ b/maven-core/src/main/java/org/apache/maven/ExecutionResponse.java @@ -43,7 +43,7 @@ public class ExecutionResponse public boolean isExecutionFailure() { - return ( failedGoal != null ); + return ( failedGoal != null || exception != null ); } public String getFailedGoal()