[ http://issues.apache.org/jira/browse/GERONIMO-1659?page=comments#action_12368110 ]
Anders Hessellund Jensen commented on GERONIMO-1659: ---------------------------------------------------- There is an issue with migrating the system module to Maven 2. The problem is to generate a correct geronimo-version.properties file. The geronimo-version.properties looks like this: ##### Generated by Maven #### version=1.2-SNAPSHOT build.date=2006.02.28 build.time=15:51:07.734+0100 copyright=Copyright (C) 2003-2006, The Apache Software Foundation The problem is to substitute correct timestamps in the properties file. There is, as far as I now, no M2 plugin to to this. I have created a patch that uses the antrun plugin and the propertyfile ant task. This way i manage to generate everything except the year part of the copyright property, so when applying the patch the file would look like this: version=1.2-SNAPSHOT build.date=2006.02.28 build.time=15:51:07.734+0100 copyright=Copyright (C) 2003-, The Apache Software Foundation The optimal solution to this would be write a M2 plugin that is capable of defining timestamps as M2 properties and use the resource filtering mechanism of M2 to substitute these properties into the properties file. Timestamping is undoubtly needed by other projects as well, so the plugin should be contributed back to the M2 project. > system module migration to Maven 2 > ---------------------------------- > > Key: GERONIMO-1659 > URL: http://issues.apache.org/jira/browse/GERONIMO-1659 > Project: Geronimo > Type: Sub-task > Reporter: Anders Hessellund Jensen > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
