Tim, I just did this the other day. I started to use buildnumber-maven-plugin . It integrates with your SCM and has some flexibility.
Michael "Harsch, Timothy J. (ARC-SC)[PEROT SYSTEMS]" <[email protected]> 08/27/2009 01:35 PM Please respond to "Maven Users List" <[email protected]> To "[email protected]" <[email protected]> cc Subject build number What is the general approach for using Maven to create a build sequence number? I would like to be able to track a build and relate it to its SCM revision number (e.g. subversion or accurev) Thanks, Tim ******************************************************************************* This e-mail message is intended solely for the use of the addressee. The message may contain information that is privileged and confidential. Disclosure to anyone other than the intended recipient is prohibited. If you are not the intended recipient, please do not disseminate, distribute or copy this communication, by e-mail or otherwise. Instead, please notify us immediately by return e-mail(including the original message with your reply) and then delete and discard all copies of the message. We have taken precautions to minimize the risk of transmitting software viruses but nevertheless advise you to carry out your own virus checks on any attachment to this message. We accept no liability for any loss or damage caused by software viruses. *******************************************************************************
