o Improved error messages

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@830274 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-10-27 18:07:11 +00:00
parent cd63cdc648
commit 6595e9fa66
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}
}

View File

@ -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 );
}
}