From commits-return-61697-archive-asf-public=cust-asf.ponee.io@commons.apache.org Mon Mar 5 18:37:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 33CC7180676 for ; Mon, 5 Mar 2018 18:37:10 +0100 (CET) Received: (qmail 25591 invoked by uid 500); 5 Mar 2018 17:37:08 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 25352 invoked by uid 99); 5 Mar 2018 17:37:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2018 17:37:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7F662F4E3E; Mon, 5 Mar 2018 17:37:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chtompki@apache.org To: commits@commons.apache.org Date: Mon, 05 Mar 2018 17:37:11 -0000 Message-Id: In-Reply-To: <8bbd74296b4e4b869ff7c709a63fa1c7@git.apache.org> References: <8bbd74296b4e4b869ff7c709a63fa1c7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [05/29] commons-release-plugin git commit: (docs) updates to documentation (docs) updates to documentation 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/e227fdd2 Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/e227fdd2 Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/e227fdd2 Branch: refs/heads/master Commit: e227fdd20e664b6a7795db258d2c20d69c204a42 Parents: 6ed02a8 Author: Rob Tompkins Authored: Thu Feb 15 08:51:29 2018 -0500 Committer: Rob Tompkins Committed: Thu Feb 15 08:51:29 2018 -0500 ---------------------------------------------------------------------- src/site/xdoc/development.xml | 7 +++++-- src/site/xdoc/index.xml | 5 ++--- 2 files changed, 7 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/e227fdd2/src/site/xdoc/development.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/development.xml b/src/site/xdoc/development.xml index 8404c11..441dd5c 100644 --- a/src/site/xdoc/development.xml +++ b/src/site/xdoc/development.xml @@ -57,7 +57,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { imported to the Mojo by the existent maven variables or the declared <configuration>. For example, we have a boolean variable named dryRun declared as: that can be configured by @@ -65,11 +65,14 @@ private Boolean dryRun; org.apache.commons commons-release-plugin - 1.0 + 1.1 true ]]> + + And, because we've set the property here (as in the 1.1 release), you can, on the command line, + use the following -Dcommons.release.dryRun=true.

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/e227fdd2/src/site/xdoc/index.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 39bb932..db319e7 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -82,7 +82,6 @@ 1.1 scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo - ${dryRun} @@ -126,14 +125,14 @@
  • running the following command: [-Duser.password= [-Duser.password=
  • If the component is new, then, before running this maven command, you would want to create the requisite subversion directory https://dist.apache.org/repos/dist/dev/commons/foo. Notice, that the way to perform a dry run of the release you need to include - -DdryRun=true -Ptest-deploy. + -Dcommons.release.dryRun=true -Ptest-deploy.