Skip to content

docs: remove SemVer 2.0.0 build-metadata examples from naming conventions guide#1603

Open
imharjot wants to merge 1 commit into
apache:masterfrom
imharjot:fix/naming-conventions-semver-buildmeta
Open

docs: remove SemVer 2.0.0 build-metadata examples from naming conventions guide#1603
imharjot wants to merge 1 commit into
apache:masterfrom
imharjot:fix/naming-conventions-semver-buildmeta

Conversation

@imharjot

Copy link
Copy Markdown

The naming-conventions guide recommends SemVer 1.0.0 but illustrated it with +build metadata, which is SemVer 2.0.0-only syntax that Maven does not special-case. Removes the incorrect examples, fixes the prose, and adds a clarifying note linking to the version-order spec.

Fixes #1595

…ions

The version-identifier guide recommends Semantic Versioning 1.0.0 but
showed `+build` metadata examples (1.2.3+dfc0c87, 2.3.4+15433). That
`+` syntax is defined only in SemVer 2.0.0, and Maven explicitly does
not special-case the plus sign or treat the trailing text as build
metadata; it becomes an ordinary version qualifier.

Remove the incorrect examples, drop the "build metadata" wording from
the surrounding prose, and add a short note clarifying that `+` has no
special meaning in Maven versions, linking to the version order
specification in pom.html.

Fixes apache#1595
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect version examples with SemVer v2 build metadata, which is not allowed in POM versions

1 participant