You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jim McCaskey <ji...@pervasive.com> on 2009/04/29 21:47:52 UTC
How to parse a number
Hello all,
I currently have build numbers like 1.2.3-999 where 999 is the always incrementing build number. I would like to somehow set a property with the 1.2.3 part of the number. In other words, strip off that which is after the dash. I thought perhaps the buildnumber-maven-plugin would help:
http://mojo.codehaus.org/buildnumber-maven-plugin/
However I can't figure out how to do what I want. Any ideas?
-Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org