x.x.x-SNAPSHOT is the precursor to x.x.x The SNAPSHOT value is used to allow the version to refer to the 'latest' code along a branch and provides no guarantee that the code is stable or unchanging. The release process changes x.x.x-SNAPSHOT to x.x.x, freezes the code to provide a guarantee that the version is unchanging. The release process should also move the version to x.x.x+1-SNAPSHOT. It follows that any released code cannot be dependent on SNAPSHOT code
On December 20, 2012 at 6:02 AM [email protected] wrote: > Hi. > > I can't find any documentation on the Maven site about snapshots. I'm > trying to determine whether a snapshot is considered to be older or > newer than the version number prefix. > > Is 1.0.0-SNAPSHOT considered to be the current HEAD, having a > theoretical 1.0.0 at some point in the past, or is 1.0.0-SNAPSHOT > considered to be a precursor to some future 1.0.0 release? > > The only information I can find seems to be off-site at: > > https://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-IncorporatingSNAPSHOTversionsintothespecification > > The Maven user guide mentions that snapshots "will be described later > in the guide" - but they aren't. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
