Repository navigation
docs(markdown): fix grammar, typos, and markup in .md.vm files - #1364
Merged
slachiewicz merged 1 commit intoMay 1, 2026
Merged
slachiewicz merged 1 commit into
slachiewicz merged 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR improves the generated Maven site documentation for the Versions project by correcting copy/paste errors in examples, fixing broken link targets, and cleaning up grammar/Markdown formatting across the .md.vm templates and top-level docs.
Changes:
- Fixes several โfunctionalโ documentation issues (incorrect XML element name, incorrect parameter name, incorrect link text/targets).
- Standardizes and clarifies wording across multiple pages (goal descriptions, headings, and explanatory text).
- Improves Markdown rendering details (code fence languages and minor markup fixes).
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| versions-maven-plugin/src/site/markdown/version-rules.md.vm | Grammar fixes and clarifies an XML comment/example text. |
| versions-maven-plugin/src/site/markdown/usage.md.vm | Improves code fence language, fixes a mislabeled link, and corrects a heading. |
| versions-maven-plugin/src/site/markdown/index.md | Fixes repeated grammatical issues in goal descriptions and improves wording/capitalization. |
| versions-maven-plugin/src/site/markdown/faq.md | Fixes punctuation and cleans up a malformed example sentence. |
| versions-maven-plugin/src/site/markdown/examples/use-releases.md | Corrects dependencyManagement spelling in documentation. |
| versions-maven-plugin/src/site/markdown/examples/update-properties.md.vm | Fixes a wrong parameter name and improves multiple sentences/markup. |
| versions-maven-plugin/src/site/markdown/examples/unlock-snapshots.md | Corrects dependencyManagement spelling in documentation. |
| versions-maven-plugin/src/site/markdown/examples/setaggregator.md | Improves grammar in explanatory text. |
| versions-maven-plugin/src/site/markdown/examples/resolve-ranges.md | Corrects dependencyManagement spelling in documentation. |
| versions-maven-plugin/src/site/markdown/examples/lock-snapshots.md | Corrects dependencyManagement spelling in documentation. |
| versions-maven-plugin/src/site/markdown/examples/ignore-versions.md.vm | Fixes an internal link target and improves code fence language for logs. |
| versions-maven-plugin/src/site/markdown/examples/display-plugin-updates.md.vm | Fixes minor wording and corrects an HTML comment marker. |
| versions-maven-plugin/src/site/markdown/examples/display-dependency-updates.md.vm | Fixes code fence language, wording, and corrects <artifactId> in an XML example. |
| versions-maven-plugin/src/site/markdown/examples/compare-dependencies.md | Fixes a CLI example to use -DupdatePropertyVersions=true. |
| versions-maven-plugin/src/site/markdown/examples/advancing-dependency-versions.md.vm | Fixes repeated grammar and a table header label for snapshot behavior. |
| versions-enforcer/src/site/markdown/index.md.vm | Fixes grammar in the sample configuration introduction. |
| versions-api/src/site/markdown/index.md.vm | Improves page/title wording and clarifies a classloader/versioning sentence. |
| versions-api/src/site/markdown/change-recorder.md.vm | Fixes heading wording and improves a code block fence language. |
| README.md | Improves grammar, punctuation, and code fence language in contributor/release instructions. |
๐ก Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
slachiewicz
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes grammar, typos, broken markup, and two functional documentation errors across all .md.vm template files and the main index.md.
Changes
Functional documentation fixes (incorrect behaviour if copy-pasted):
display-dependency-updates.md.vmโ<artifact>myartifact</artifact>โ<artifactId>myartifact</artifactId>(invalid Maven POM element)usage.md.vmโ Link textlock-snapshotspointing atuse-releases.htmlcorrected touse-releasesignore-versions.md.vmโ Internal link../version-rules.md.vmโ../version-rules.html(raw template path exposed in generated HTML)update-properties.md.vmโautoLinkItemDependenciesโautoLinkDependencies(references a non-existent parameter name)Grammar and language fixes:
change-recorder.md.vmโ "Writing a own" โ "Writing Your Own"; "Changerecoder is stateful component" โ "ChangeRecorder is a stateful component"versions-api/index.md.vmโ "Writing an extensions" โ "Writing Extensions"; "allow you write extension" โ "allows you to write extensions"; "as used versions-maven-plugin use" โ "as the one used by versions-maven-plugin";"Version Maven Plugin" โ "the Versions Maven Plugin"
advancing-dependency-versions.md.vm+index.mdโ Six goal descriptions: "which have been a newer X" โ "for which a newer X is available" (grammatically incorrect in all occurrences)advancing-dependency-versions.md.vmโ Duplicate column header "Considers releases" โ "Considers -SNAPSHOTs" in goal matrix; missing - list bullet on use-latest-versionsversions-enforcer/index.md.vmโ "Below a rundimentary example" โ "Below is a rudimentary example"update-properties.md.vmโ "then the all dependencies"; double space; "disable the searching the reactor at all"; trailing comma โ semicolon on allowSnapshots sentencedisplay-dependency-updates.md.vmโ "As said before" โ "As mentioned above"usage.md.vmโ Heading "Checking for new versions of specified by" โ "specified by"version-rules.md.vmโ "somewhat simpler to" โ "somewhat similar to"; incomplete sentence "The described" completed; broken XML comment <!-- if provided, closed and annotatedMarkdown syntax fixes:
update-properties.md.vmโ Mixed bold/backticksyntax on includes/excludes โ consistent backticksdisplay-plugin-updates.md.vmโ Invalid <!--- triple-dash comment โ <!--; "Note: that" โ "Note that"ignore-versions.md.vmโ Two bare code fences for log output โ ```logchange-recorder.md.vm+usage.md.vmโ Bare code fences for shell commands โ ```shellMotivation
Several
.md.vmtemplate files had accumulated issues ranging from copy-paste errors and broken parameter names to grammatically incorrect goal descriptions repeated across multiple files. The two most impactful were the invalidPOM element (users copying the example would get a Maven parse error) and the autoLinkItemDependencies reference to a parameter that does not exist in the plugin.
Impact
<artifactId>andautoLinkDependenciescorrections fix examples that were silently wrongversion-rules.htmllink fix prevents a broken link in the generated siteTesting
Documentation-only changes. Verified by inspecting each modified file to confirm no unintended changes to code samples, link targets, or Velocity macro syntax (#set, #parse, $h3, etc.).
Notes
advancing-dependency-versions.md.vmhas a separate pre-existing structural issue (blank vs. Yes cells for use-next-releases/use-latest-releases) that requires semantic clarification from the pluginmaintainers; it has not been changed here