From issues-return-57495-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Fri Oct 02 09:04:28 2009 Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 53884 invoked from network); 2 Oct 2009 09:04:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 09:04:28 -0000 Received: (qmail 29755 invoked by uid 500); 2 Oct 2009 09:04:28 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 29669 invoked by uid 500); 2 Oct 2009 09:04:28 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 29659 invoked by uid 99); 2 Oct 2009 09:04:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 09:04:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 09:04:17 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id B137719E01D7 for ; Fri, 2 Oct 2009 04:03:56 -0500 (CDT) Message-ID: <1605491.24811254474236439.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 2 Oct 2009 04:03:56 -0500 (CDT) From: "Dennis Lundberg (JIRA)" To: issues@maven.apache.org Subject: [jira] Closed: (MCHANGES-169) sub element 'email' of 'mailSender' is not able to read the system property from command line '-Dusername=zhigang' or Darguments="-Dusername=pprun" In-Reply-To: <17110767.88631249882079205.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MCHANGES-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg closed MCHANGES-169. ------------------------------------ Resolution: Not A Bug > sub element 'email' of 'mailSender' is not able to read the system property from command line '-Dusername=zhigang' or Darguments="-Dusername=pprun" > --------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MCHANGES-169 > URL: http://jira.codehaus.org/browse/MCHANGES-169 > Project: Maven 2.x Changes Plugin > Issue Type: Bug > Components: announcement > Affects Versions: 2.0 > Environment: all enviornments > Reporter: Zhigang Pi > > I have the follownig configuration: > > org.apache.maven.plugins > maven-changes-plugin > 2.1 > > ${basedir}/build/changes.xml > pop.abc.com > true > ${project.name} ${project.version} Released > > release@abc.com > > > Release Notification from ${mailusername} > ${mailusername}@abc.com > > > > mvn release:clean release:prepare -Dmaven.test.skip=true -Dusername=zhigang -Dtag=v01_00_00-b1 > mvn release:perform -Dusername=zhigang -Darguments="-Dtag=1.0.0-b1" > or > mvn release:clean release:prepare -Dmaven.test.skip=true -Dusername=zhigang -Dtag=v01_00_00-b1 > mvn release:perform -Darguments="-Dmailusername=pprun -Dtag=1.0.0-b1" > or > mvn release:clean release:prepare -Dmaven.test.skip=true -Dusername=zhigang -Dtag=v01_00_00-b1 > mvn release:perform -Dusername=zhigang -Darguments="-Dmailusername=pprun -Dtag=1.0.0-b1" > Actually, I want it uses the one for property '-Dmailusername' because by default, -Dusername is for scm user. > But finally the announcement resolves it as 'null@abc.com', did not use the passed in system property. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira