That's actually exactly what I was looking for! Thanks! On Thu, Jul 2, 2009 at 3:26 PM, Dan Tran <[email protected]> wrote: > > this may help. > http://mojo.codehaus.org/build-helper-maven-plugin/parse-version-mojo.html > > -D > On Thu, Jul 2, 2009 at 1:00 PM, Josh McFarlane<[email protected]> > wrote: > > I have a command that I'm currently running via the exec plugin where I need > > to pass in the version number. This works fine if my version number is > > something like "1.0.0" but if I'm working from a snapshot, I need it to only > > return the actual version (1.0.0) instead of "1.0.0-SNAPSHOT". Is there a > > special property to get the resolved version, or do I need to manually add > > something to my exec script to parse out -SNAPSHOT? > > > > -- > > Thanks, > > Josh McFarlane > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
-- Thanks, Josh McFarlane http://www.joshmcfarlane.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
