commit | 225e6f1be73ea3695680a21dbb8b85b24bcba4cb | [log] [tgz] |
---|---|---|
author | Gary Gregory <garydgregory@gmail.com> | Mon Jul 02 19:43:29 2018 -0400 |
committer | Gary Gregory <garydgregory@gmail.com> | Mon Jul 02 19:43:29 2018 -0400 |
tree | aa0bf361f19c5d30474be5246675291970233653 | |
parent | 5679e79146452092b8953a7b2597887b2972c295 [diff] |
Better error message.
diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java index 6d21497..b701d4a 100755 --- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java +++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
@@ -204,7 +204,8 @@ fileSet ); if (!addResult.isSuccess()) { - throw new MojoExecutionException("Failed to add files to scm"); + throw new MojoExecutionException("Failed to add files to scm: " + addResult.getProviderMessage() + + " [" + addResult.getCommandOutput() + "]"); } getLog().info("Staging release: " + project.getArtifactId() + ", version: " + project.getVersion()); CheckInScmResult checkInResult = provider.checkIn(