Hehehe! They have very rigid version number format...
Major.Minor.ServicePackOrUpgrade.Patch.Build On 2 August 2011 16:38, Jim McCaskey <[email protected]> wrote: > You could piece it together using this maybe: > > http://mojo.codehaus.org/build-helper-maven-plugin/parse-version-mojo.html > > We've done that, but we have very rigid control over the version numbers. > > -Jim > > -----Original Message----- > From: Thiessen, Todd (Todd) [mailto:[email protected]] > Sent: Tuesday, August 02, 2011 10:37 AM > To: Maven Users List > Subject: RE: Extracting the release portion of the maven version > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
