Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 93213 invoked from network); 6 Apr 2009 15:53:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2009 15:53:41 -0000 Received: (qmail 25170 invoked by uid 500); 6 Apr 2009 15:53:41 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 25081 invoked by uid 500); 6 Apr 2009 15:53:40 -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 25067 invoked by uid 99); 6 Apr 2009 15:53:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 15:53:40 +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; Mon, 06 Apr 2009 15:53:32 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id DE4C914A81A1 for ; Mon, 6 Apr 2009 10:53:12 -0500 (CDT) Message-ID: <14103520.1239033192891.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 6 Apr 2009 10:53:12 -0500 (CDT) From: "Jason van Zyl (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MNG-4112) Set property containing the currently executing maven version. In-Reply-To: <33358748.1238162232960.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/MNG-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172183#action_172183 ] Jason van Zyl commented on MNG-4112: ------------------------------------ I'll take a look later this week. There are two branches with lots of changes including the embedder, but this is not hard to add but the embedder is not the right place. > Set property containing the currently executing maven version. > -------------------------------------------------------------- > > Key: MNG-4112 > URL: http://jira.codehaus.org/browse/MNG-4112 > Project: Maven 2 > Issue Type: Improvement > Reporter: Paul Gier > Fix For: 2.1.1, 3.0-alpha-3 > > Attachments: MNG-4112-maven-embedder.patch > > > It would be helpful to have an easy way to access the current version of maven. This might be accomplished by setting a property like "maven.version" during startup that would be available to the pom and/or to plugins. This could be used to record what version of maven was used during the build to facilitate build reproducibility. -- 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