[
http://jira.codehaus.org/browse/MNG-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171630#action_171630
]
Brett Porter commented on MNG-4112:
-----------------------------------
from the thread on the ML, it sounded like it was acceptable usage to grab the
RuntimeInformation component (but add an integration test to Maven to make sure
it survives any future refactoring).
> 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
>
> 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