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

Martin Todorov commented on MNG-4112:
-------------------------------------

I think it would make more sense to a developer to have it in the form of x.y.z 
(for example 3.1.0). Perhaps there should be two properties. One for the Maven 
version (in the format I just mentioned) and one that contains the full version 
info, along with the revision and etc).


> 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