+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 <[email protected]>: > 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: [email protected] > For additional commands, e-mail: [email protected] > > -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
