-1 to a, +1 to b --Brian (mobile)
On Dec 28, 2010, at 1:20 PM, Jason van Zyl <ja...@maven.org> wrote: > > On Dec 28, 2010, at 10:02 AM, Benjamin Bentmann wrote: > >> 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) >> > > +1 > > I think anything that moves us closer toward the OSGi versioning would be > better. I also think being more explicit with the version would be better and > accounts for the case where you have multiple branches and you need to > identify the tip of each. I don't think we should allow just "SNAPSHOT" > anymore as it provides no version context which I think is important. > > We often see the following: > > x-SNAPSHOT > x.y-SNAPSHOT > x.y.z-SNAPSHOT > > Which at least provide some version context, but ultimately I think we should > try to move toward: > > http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Version.html > > So I would opt for b) and emit a warning if not in the *-SNAPSHOT form and > officially deprecate "SNAPSHOT" and think about moving toward x.y.z.qualifier > as a standard. I don't think multiple version schemes are truly helpful. > >> >> Benjamin >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> > > Thanks, > > Jason > > ---------------------------------------------------------- > Jason van Zyl > Founder, Apache Maven > http://twitter.com/jvanzyl > --------------------------------------------------------- > > First, the taking in of scattered particulars under one Idea, > so that everyone understands what is being talked about ... Second, > the separation of the Idea into parts, by dividing it at the joints, > as nature directs, not breaking any limb in half as a bad carver might. > > -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander) > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org