[ http://jira.codehaus.org/browse/MNG-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182313#action_182313 ]
Benjamin Bentmann commented on MNG-2562: ---------------------------------------- Matthew, I believe there is probably a misunderstanding. We have to distinguish what gets interpolated (and by whom). The Maven core is only responsible for interpolating the POM, not the resources or any other project source files. The latter is the job for plugins, usually the Maven Resources Plugin. So you should fill the issue at the plugin which needs to be updated to support the timestamp as a new interpolation source. The plugin can fetch the value from the {{MavenSession}}. BTW, I updated the site some time ago so that the feature in now documented, see [Available Variable|http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Available_Variables]. > expose current time as a property for POM interpolation > ------------------------------------------------------- > > Key: MNG-2562 > URL: http://jira.codehaus.org/browse/MNG-2562 > Project: Maven 2 > Issue Type: New Feature > Components: Inheritance and Interpolation > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.1.0-M1 > > > it is useful to have the current time, for example to write out a manifest > entry for the build time or to filter into another file. > I'm not sure of the best way to make the format of the time configurable - > perhaps another POM element/property. > See the related issue for a current example of how this can be done, but it > would be nice to have a built-in. -- 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