[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-dev
Subject:    Re: Cleanup to SNAPSHOT version handling
From:       Olivier Lamy <olamy () apache ! org>
Date:       2010-12-31 8:39:15
Message-ID: AANLkTinqN3OLeC5uWBx+bpziw1Cz7NGdRk1tXrGML=_O () mail ! gmail ! com
[Download RAW message or body]

+1 for me to accept only : *-SNAPSHOT.
Included 1-SNAPSHOT (our parent poms use this forms), 1.0-SNAPSHOT (a
lot of people/company use the a.b qualifier).

IMHO we must emit a warning/deprecation in 3.0.x for version with only
SNAPSHOT (and fail in 3.1.x).



2010/12/28 Benjamin Bentmann <benjamin.bentmann@udo.edu>:
> Brett Porter wrote:
>
>> I think the original reason the logic is how it is was because just
>> "SNAPSHOT" (with no leading version) was valid, but that behaviour has long
>> been (unofficially) deprecated.
>
> Given this style of versioning is apparently in use and I personally see
> nothing wrong with having just "SNAPSHOT" to refer to the HEAD of some
> project I suggest we go with the following for Maven 3.0.2:
>
> a) Treat "SNAPSHOT", "*-SNAPSHOT" and the respective expanded/timestamped
> forms as snapshot versions, anything else as release
> b) Emit a model warning if the project version ends with SNAPSHOT but does
> not match the patterns mentioned in a)
>
>
> Benjamin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic