[ 
https://jira.codehaus.org/browse/MNG-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273304#comment-273304
 ] 

Paul Gier commented on MNG-4112:
--------------------------------

I'm not sure whether to use just the version number or the full version string 
for this.  For example, "3.0.3" vs "Apache Maven 3.0.3 (r1075438; 2011-02-28 
11:31:09-0600)".  I'm leaning toward the full version info since this is 
similar to the version string available in the Ant property "ant.version".

> Set property containing the currently executing maven version.
> --------------------------------------------------------------
>
>                 Key: MNG-4112
>                 URL: https://jira.codehaus.org/browse/MNG-4112
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>            Reporter: Paul Gier
>            Assignee: Paul Gier
>             Fix For: 3.1
>
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to