maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-4112) Set property containing the currently executing maven version.
Date Thu, 02 Apr 2009 05:05:13 GMT

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

Brett Porter commented on MNG-4112:
-----------------------------------

yep, that looks exactly right - however, ISTR having that as a system property caused some
grief. It would be better to inject it into the properties in the request after it is created
- they are still available for interpolation.

Combine that with an IT and I'd say commit away :)

> 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
>         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

        

Mime
View raw message