You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/05/30 13:33:30 UTC

commons-release-plugin git commit: Slightly better logging.

Repository: commons-release-plugin
Updated Branches:
  refs/heads/master 1b8edfc01 -> 072168464


Slightly better logging.

Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/07216846
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/07216846
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/07216846

Branch: refs/heads/master
Commit: 0721684648e6856c1e9d59afd5570b6beeb4fe39
Parents: 1b8edfc
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed May 30 07:33:27 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed May 30 07:33:27 2018 -0600

----------------------------------------------------------------------
 .../release/plugin/mojos/CommonsDistributionStagingMojo.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/07216846/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
----------------------------------------------------------------------
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 2420938..aa0d2bf 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
@@ -189,8 +189,8 @@ public class CommonsDistributionStagingMojo extends AbstractMojo {
                     throw new MojoExecutionException("Adding dist files failed: " + addResult.getCommandOutput());
                 }
             } else {
-                getLog().info("Would have committed to: " + distSvnStagingUrl);
-                getLog().info("Staging release: " + project.getArtifactId() + ", version: " + project.getVersion());
+                getLog().info("Dry run: Would have committed to: " + distSvnStagingUrl);
+                getLog().info("Dry run: Staging release: " + project.getArtifactId() + ", version: " + project.getVersion());
             }
         } catch (ScmException e) {
             getLog().error("Could not commit files to dist: " + distSvnStagingUrl, e);