http://mojo.codehaus.org/build-helper-maven-plugin/regex-property-mojo.html
On 2 August 2011 16:36, Thiessen, Todd (Todd) <[email protected]> wrote: > Looking for a platform independent solution for during a build. > >> -----Original Message----- >> From: Stephen Connolly [mailto:[email protected]] >> 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) <[email protected]> >> 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: [email protected] >> For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > 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]
