http://mojo.codehaus.org/build-helper-maven-plugin/regex-property-mojo.html
On 2 August 2011 16:36, Thiessen, Todd (Todd) <tthies...@avaya.com> wrote: > Looking for a platform independent solution for during a build. > >> -----Original Message----- >> From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] >> Sent: Tuesday, August 02, 2011 11:34 AM >> To: Maven Users List >> Subject: Re: Extracting the release portion of the maven version >> >> echo 1.0-SNAPSHOT | sed -e "s/-SNAPSHOT//" >> >> On 2 August 2011 16:30, Thiessen, Todd (Todd) <tthies...@avaya.com> >> wrote: >> > Consider a maven version of: >> > >> > 1.0-SNAPSHOT >> > >> > Does anyone know of a plugin or easy way to get the release portion >> of the version? Ie: just the 1.0 part? >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org