hybris-commerce-eclipse-plugin

Documentation and plugin versioning

Documentation follows the plugin’s Git history and release tags. MkDocs/Material uses Mike to provide a version selector. There is no independent documentation version counter: release directories use the full plugin version, such as 22.11.0.

Published documentation versions

URL suffix Content
/ Redirect to the latest working documentation
/latest/ Redirect alias for Development
/development/ Latest successful master documentation build
/X.Y.Z/ Immutable documentation snapshot from release tag vX.Y.Z
/updates/latest/ Canonical Eclipse installer repository, always copied from committed master p2 files

The selector lists archived releases and Development. Development may describe unreleased changes; it is not a claim that the installer repository offers those features. Each release remains canonical to its own version directory.

Generated HTML and versions.json are retained on the reserved docs-versions branch. The existing Pages workflow publishes versioned documentation and the canonical p2 repository together; do not publish a docs-only artifact separately.

Archive a release

Only the trusted Pages deployment job has permission to push generated history. Pull requests and manual runs on other branches validate without publishing. For a fork, configure mkdocs.yml’s site_url and repo_url for the actual publishing repository so canonical and tagged source links point to the correct site.

Version sources

Item Source of truth Example
Development version Root and module pom.xml files 22.11.1-SNAPSHOT
Development bundle/feature version META-INF/MANIFEST.MF and feature.xml 22.11.1.qualifier
Release version Synchronized Maven, bundle, and feature metadata 22.11.1.RELEASE
Release tag Git tag identifying the release source and documentation v22.11.1
Installed/distributed version p2 metadata and release assets Consult the installed feature or release notes
Development documentation Latest successful deployment from master May include unreleased changes
Archived documentation Recorded release-tag source commit /22.11.0/ after that tag is archived

Examples illustrate the naming convention; they do not assign the next release. Maintain the existing three-component version sequence. Do not derive a plugin version automatically from today’s date, the Java version, or the Eclipse target.

Use the Tycho Versions plugin described in the release procedure to update Maven, bundle, and feature versions together. Do not change individual versions with manual search-and-replace. Build qualifiers are not separate documentation releases.

When to update documentation

For example, retiring the legacy ImpEx editor requires release notes explaining the new default editor, possible reassociation/manual uninstallation, and any remaining grammar or indexing limitations. Do not describe manual checks as completed unless they were actually performed.

Release documentation checklist

Before creating the release tag:

  1. Apply the selected plugin release version using the release procedure.
  2. Review README.md, installation requirements, changed feature guides, and migration notes against the actual release candidate—not just current source.
  3. Convert applicable Unreleased changelog entries into the release section; retain genuinely unreleased work under Unreleased.
  4. Validate documentation using the commands in Documentation website, including the strict MkDocs build and published-resource tests.
  5. Include matching documentation and changelog changes in the source commit referenced by the release tag. Publish the artifacts using the release procedure.

After publication, prepare the next development -SNAPSHOT in a separate change. Do not move or recreate an existing release tag to incorporate later documentation fixes. Put corrections on the development branch and, when necessary, a dedicated release-maintenance branch or a new release.

Read documentation for an installed release

The root/latest MkDocs pages represent the latest deployed master documentation, not necessarily the version offered by updates/latest/. Choose the installed version from the selector for an archived snapshot. Documentation deployment does not build or release Java bundles; p2 publication uses the committed repository. See What is published.

For releases not yet archived, or version-specific source documentation, select the release tag on GitHub and browse README.md and docs/ in the repository that published the release. A fork’s tag may not exist in the upstream repository. Locally, inspect tagged files without changing the working tree:

VERSION=22.11.0  # replace with the installed release's tag version
git show "v${VERSION}:README.md"
git show "v${VERSION}:docs/installation.md"

Some older tags predate particular documentation pages. Use the README, changelog, and documentation files that exist at that tag. Check the current site’s corrections and migration notes separately; do not treat newer instructions as evidence that an older binary supports the same features.