From 6595e9fa66e065737ef3889703c79c2e62bec50c Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Tue, 27 Oct 2009 18:07:11 +0000 Subject: [PATCH] o Improved error messages git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@830274 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/plugin/coreit/DeployMojo.java | 2 +- .../main/java/org/apache/maven/plugin/coreit/ResolveMojo.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/DeployMojo.java b/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/DeployMojo.java index 8ef3d54636..98e3add342 100644 --- a/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/DeployMojo.java +++ b/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/DeployMojo.java @@ -89,7 +89,7 @@ public class DeployMojo } catch ( Exception e ) { - throw new MojoExecutionException( "Failed to deploy artifacts", e ); + throw new MojoExecutionException( "Failed to deploy artifacts: " + e.getMessage(), e ); } } diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/ResolveMojo.java b/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/ResolveMojo.java index 4e785fc362..638254a5b0 100644 --- a/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/ResolveMojo.java +++ b/its/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/ResolveMojo.java @@ -114,7 +114,7 @@ public class ResolveMojo } catch ( Exception e ) { - throw new MojoExecutionException( "Failed to resolve artifacts", e ); + throw new MojoExecutionException( "Failed to resolve artifacts: " + e.getMessage(), e ); } }