[
https://jira.codehaus.org/browse/MNG-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273319#comment-273319
]
Anders Hammar commented on MNG-4112:
------------------------------------
I second Martin's suggestion. It would be good with a x.y.z property for
profile activation or similar (not that I like profiles that much though) and
the full string for other purposes.
> 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