Hehehe!

They have very rigid version number format...

Major.Minor.ServicePackOrUpgrade.Patch.Build

On 2 August 2011 16:38, Jim McCaskey <jim.mccas...@pervasive.com> 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:tthies...@avaya.com]
> 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: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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to