From users-return-144085-archive-asf-public=cust-asf.ponee.io@maven.apache.org Fri May 24 18:11:20 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DBF75180671 for ; Fri, 24 May 2019 20:11:19 +0200 (CEST) Received: (qmail 45378 invoked by uid 500); 24 May 2019 18:11:17 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 45366 invoked by uid 99); 24 May 2019 18:11:17 -0000 Received: from Unknown (HELO mailrelay2-lw-us.apache.org) (10.10.3.159) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2019 18:11:17 +0000 Received: from [192.168.1.13] (p548F9AAF.dip0.t-ipconnect.de [84.143.154.175]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id A5B0D3A07; Fri, 24 May 2019 18:11:16 +0000 (UTC) Subject: Re: maven-changes-plugin: include git tag and commit sha1 in announcement email To: Maven Users List , =?UTF-8?B?5p6X6Ieq5Z2H?= References: From: Michael Osipov Message-ID: <862eef8d-f836-a186-b9a2-a81d428d1a78@apache.org> Date: Fri, 24 May 2019 20:11:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 2019-05-24 um 18:35 schrieb =E6=9E=97=E8=87=AA=E5=9D=87: > Hi Michael, >=20 > Michael Osipov =E6=96=BC 2019=E5=B9=B45=E6=9C=882= 4=E6=97=A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=8811:48 =E5=AF=AB=E9=81=93=EF= =BC=9A >=20 >> Am 2019-05-24 um 06:08 schrieb =E6=9E=97=E8=87=AA=E5=9D=87: >>> Hi all, >>> >>> I am using maven-changes-plugin to send announcement emails. Now I >>> would like to add the name of the release git tag and git commit sha1= >>> in the announcement. However, I didn't see any available variable to >>> achieve this: >> https://maven.apache.org/plugins/maven-changes-plugin/examples/using-a= -custom-announcement-template.html >> >> Why do you need both if the tag will poin to the commit and the commit= >> will list the tag? >> >=20 > Only the tag name or commit sha1 also works for me. The point is to > retrieve the git info during generating announcement email. Evaluate exec-maven-plugin or better buildnumber-maven-plugin and filter = that property in the Velocity template. It should work in theory. Michael --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org