On 2025/02/28 08:28:22 "Piotr P. Karwasz" wrote:
> Hi,
> 
> I saw that more and more Maven plugins are releasing 4.x betas, which 
> sounds like great news.
> 
> Might I, however, suggest the usage of pre-release qualifiers of the 
> form `beta.<n>` (with a dot) instead of `beta-<n>` (with a hyphen)? This 
> would improve compatibility between Maven ordering and the ordering 
> specified by the Semantic Versioning specification[1]. Maven doesn't 
> really care if the separator is a dot, hyphen or is omitted, but semver 
> expects numeric identifiers to be separated with a dot. Otherwise it 
> sorts lexicographically: `beta-1`, `beta-10`, `beta-2`.
> 
> Since I value consistency, I am proposing this change for plugins that 
> have not released a beta yet: it would be really strange if `beta-2` was 
> followed by `beta.3`.

We loosely follow SemVer, so do our parsers. Changing this would mean change 
all versioning/release schemes. I bet that other committers would be reluctant 
to that.

M

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

Reply via email to