Thanks for all replies, but when I use this plugin I receive the version of my my project (e.g. 1.0-SNAPSHOT), but I would like to get somehow the revision number of the svn version (e.g. 768). If someone commits some changes and the revision number turns to 769 this would be shown in some property file or manifest file or whatever. I think this needs a communication with svn using scm tags (I have already configured scm).
Nick Stolwijk wrote: > > Have a look at the buildnumber plugin, which does exactly that.[1] > > Hth, > > Nick Stolwijk > > [1] > http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/index.html > > DCVer wrote: >> Hi all, >> >> I would like to get the revision number of my project on svn repository >> using maven2 (or some other tool) and put this number e.g. in some >> property >> file. How could this be done? >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Retrieving-subversion-revision-number-tf4225135s177.html#a12029403 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]