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 15:38:59 UTC

commons-release-plugin git commit: Fix Checkstyle error.

Repository: commons-release-plugin
Updated Branches:
  refs/heads/master 66da51638 -> 0cae8c664


Fix Checkstyle error.

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/0cae8c66
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/0cae8c66
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/0cae8c66

Branch: refs/heads/master
Commit: 0cae8c664df58dca21d8e415a103ab301a81f041
Parents: 66da516
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed May 30 09:38:57 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed May 30 09:38:57 2018 -0600

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


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/0cae8c66/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 aa0d2bf..6bbd980 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,9 @@ public class CommonsDistributionStagingMojo extends AbstractMojo {
                     throw new MojoExecutionException("Adding dist files failed: " + addResult.getCommandOutput());
                 }
             } else {
-                getLog().info("Dry run: Would have committed to: " + distSvnStagingUrl);
-                getLog().info("Dry run: 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);