Inserting SCM and date/time info into a site
Sorry if this has been covered but I can't seem to locate anything. Is there a way to use Maven to insert the subverision revision number of my code directly into the generated site, along with a date/time stamp, like a This site was generated from Revision X of project.xml on 2005-05-01 in a footer I suppose I can always add the $Rev $ and $Date $ strings, but can the site plugin stamp the time of a gen into the site? Thanks, Mykel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Inserting SCM and date/time info into a site
Hello Mikel, I am using the following properties in my project.properties to add generation date on my site : maven.xdoc.date=left maven.xdoc.date.format=dd:MM/ HH:mm:ss z I found these properties on Xdoc plugin doc : http://maven.apache.org/reference/plugins/xdoc/properties.html Unfortunately, I didn't find anything about project revision Hope this helps, Cyrille Mykel Alvis wrote: Sorry if this has been covered but I can't seem to locate anything. Is there a way to use Maven to insert the subverision revision number of my code directly into the generated site, along with a date/time stamp, like a This site was generated from Revision X of project.xml on 2005-05-01 in a footer I suppose I can always add the $Rev $ and $Date $ strings, but can the site plugin stamp the time of a gen into the site? Thanks, Mykel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cyrille Le Clerc email : [EMAIL PROTECTED] : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Inserting SCM and date/time info into a site
That's great! Thanks! On 5/2/05, Cyrille Le Clerc [EMAIL PROTECTED] wrote: Hello Mikel, I am using the following properties in my project.properties to add generation date on my site : maven.xdoc.date=left maven.xdoc.date.format=dd:MM/ HH:mm:ss z I found these properties on Xdoc plugin doc : http://maven.apache.org/reference/plugins/xdoc/properties.html Unfortunately, I didn't find anything about project revision Hope this helps, Cyrille Mykel Alvis wrote: Sorry if this has been covered but I can't seem to locate anything. Is there a way to use Maven to insert the subverision revision number of my code directly into the generated site, along with a date/time stamp, like a This site was generated from Revision X of project.xml on 2005-05-01 in a footer I suppose I can always add the $Rev $ and $Date $ strings, but can the site plugin stamp the time of a gen into the site? Thanks, Mykel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cyrille Le Clerc email : [EMAIL PROTECTED] : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]