This is certainly what you are looking for : http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
Arnaud On 31/07/07, Coarr, Matt <[EMAIL PROTECTED]> wrote: > Good idea. I thought about that too. > > But that version number would only get updated whenever that properties > file gets updated, not whenever a commit is made to the subversion > module. > > Matt > > > > -----Original Message----- > From: Lalor, Brian [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 31, 2007 16:03 > To: Maven Users List > Subject: RE: getting version number from subversion and adding to pom > property > > What about using the $Revision$ keyword in a properties file? You > wouldn't have to involve Maven at all that way... > version.prop = $Revision$ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- .......................................................... Arnaud HERITIER .......................................................... OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .......................................................... ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ........................................................... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]