Hi, Maven versioning only partially adheres to semver:
https://books.sonatype.com/mvnref-book/reference/pom-relationships-sect-pom-syntax.html Regarding the -SNAPSHOT token, the docs do not mention the case when the qualifier is <something>-SNAPSHOT but I believe it’s expanded just the same. However the .SNAPSHOT token would not be recognized by Maven. Alex Le jeu. 21 nov. 2024 à 20:48, Dmitri Bourlatchkov <dmitri.bourlatch...@dremio.com.invalid> a écrit : > Good point, Yufei... I mis-interpreted the spec :| > > On Thu, Nov 21, 2024 at 2:41 PM Yufei Gu <flyrain...@gmail.com> wrote: > > > I think *1.0.0-incubating-SNAPSHOT *is the valid one per my > understanding. > > > > A pre-release version MAY be denoted by appending a hyphen and a series > of > > > dot separated identifiers immediately following the patch version. > > > Identifiers MUST comprise only ASCII alphanumerics and hyphens > > > [0-9A-Za-z-]. Identifiers MUST NOT be empty. Numeric identifiers MUST > NOT > > > include leading zeroes. Pre-release versions have a lower precedence > than > > > the associated normal version. A pre-release version indicates that the > > > version is unstable and might not satisfy the intended compatibility > > > requirements as denoted by its associated normal version. Examples: > > > 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7, 1.0.0-x.7.z.92, > 1.0.0-x-y-z.--. > > > > Yufei > > > > > > On Thu, Nov 21, 2024 at 11:30 AM Laurent Goujon > <laur...@dremio.com.invalid > > > > > wrote: > > > > > Wouldn't that cause issues with maven repositories when trying to > upload > > > the artifacts (possibly miscategorized as release artifacts instead of > > > snapshots)? > > > > > > On Thu, Nov 21, 2024 at 11:06 AM Dmitri Bourlatchkov > > > <dmitri.bourlatch...@dremio.com.invalid> wrote: > > > > > > > Hi All, > > > > > > > > This may be nitpicky but the current version in local builds is > > > > "1.0.0-incubating-SNAPSHOT", which does not appear to follow semver > > [1]. > > > > > > > > I suppose a semver-compatible version number would be > > > > "1.0.0-incubating.SNAPSHOT" (a dot instead of the second dash). > > > > > > > > Would it work from your POV? > > > > > > > > Thanks, > > > > Dmitri. > > > > > > > > [1] https://semver.org/ > > > > > > > > > >