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.

On 11/12/2010, at 4:18 AM, Benjamin Bentmann wrote:

> Hi,
> 
> as part of MNG-4893 [0] an inconsistency in the way a version string is 
> treated as a snapshot or release was detected. In short, the issue is about 
> what suffix exactly marks a snapshot version.
> 
> The current intention is to revise the logic such that the suffix "-SNAPSHOT" 
> (note the leading hyphen) and not just "SNAPSHOT" is required to denote a 
> snapshot.
> 
> This mail is meant as a heads up for users that unintentionally use irregular 
> SNAPSHOT versioning and allow them to adjust their builds. If changing the 
> builds to use "-SNAPSHOT" isn't possible, we would like to hear the technical 
> reasons for this.
> 
> Thanks
> 
> 
> Benjamin
> 
> 
> [0] http://jira.codehaus.org/browse/MNG-4893
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 

--
Brett Porter
br...@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





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

Reply via email to