DCVer wrote on Tuesday, August 07, 2007 9:36 AM: > Hmm, now I see that the revision number is null.. Looks like maven is > ignoring the scm tag..
?!?! Cannot make any sense out of your comment. What is here your "revision number", how do you gather it and how is it related to the SCM tag at all ? - Jörg -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? > > > Jörg Schaible wrote: >> >> DCVer wrote on Tuesday, August 07, 2007 8:57 AM: >> >>> 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). >> >> You might define a property in the POM like: >> >> <properties> >> <revision>$Revision$</revision> >> </properties> >> >> This will be updated everytime your POM is checked in. Since this is >> also the case releasing the artifact, you will always have the >> proper svn revision for a release within this property. >> >> - Jörg >> >> > --------------------------------------------------------------------- >> 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]