You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Baptiste MATHUS (JIRA)" <ji...@codehaus.org> on 2010/08/27 14:34:32 UTC

[jira] Commented: (MNG-4112) Set property containing the currently executing maven version.

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

Baptiste MATHUS commented on MNG-4112:
--------------------------------------

I think this enhancement should really be added, also because of maven3 arriving. 
It would help knowing the used maven version used to build in the future.

For instance, I'm currently trying to debug a maven3/maven2 build problem because of a badly built plugin (plugin.xml badly encoded, seems like a bug for maven < 2.2.1). And I've a hard time dichotomizing things to correctly file the corresponding issue.

Cheers

> Set property containing the currently executing maven version.
> --------------------------------------------------------------
>
>                 Key: MNG-4112
>                 URL: http://jira.codehaus.org/browse/MNG-4112
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>            Reporter: 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.
-
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