docs: add docs on maven's version rewriting feature
Metadata
Current evaluation
Merged documentation update detailing Maven's version rewriting feature in the maven-use plugin. Approved by two reviewers, passed all CI checks, and added 26 lines explaining the updated version selection logic.
Suggested action: —
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
The maven-use plugin got some upgrades recently for how it selected what version to select when patching versions. The logic described can be seen here in code: https://github.com/canonical/craft-parts/blob/de525c33d03fe68a650029c87ab85b3020af3827/craft_parts/utils/maven/common.py#L483
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged documentation update detailing Maven's version rewriting feature in the maven-use plugin. Approved by two reviewers, passed all CI checks, and added 26 lines explaining the updated version selection logic. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged documentation update detailing Maven's version rewriting feature in the maven-use plugin. The addition explains recent upgrades to the version selection logic used during patching, linking to the craft-parts implementation. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #685 docs: add maven plugin documentation | craft-parts | merged | Merged documentation update adding Maven plugin configuration and usage details. Approved by four reviewers, the change modifies three files with 57 added lines. | |
| #1215 feat(maven-use): improve selection when rewriting version numbers | craft-parts | merged | Merged improvement to Maven version selection logic during rewrites. Approved by three reviewers and passed all CI checks. Adds full test coverage and documents edge cases across five files to handle arbitrary strings. | |
| #1179 docs: add maven-use reference page | craft-parts | merged | Merged following two reviewer approvals and successful CI checks. Added 114 lines of reference documentation for the Maven Use plugin across two files, resolving CRAFT-4617. | |
| #5809 docs: format plugin references | snapcraft | merged | Merged documentation updates standardizing plugin reference formatting. Changes replace Keywords with Keys, align whitespace, standardize list formatting, and update the Maven example. Approved by two reviewers and passed CI checks. | |
| #971 docs: update docstring for maven plugin | craft-parts | merged | Merged after approval by two reviewers. Updated maven plugin docstring. Minor lint false positive deferred to another PR, and a wordlist update was requested. Successfully integrated. | |
| #200 docs: document the Maven inspectors | fetch-service | merged | Merged documentation update adding Maven inspector details across three files (+124/-0). Resolves issue #184. Approved by two reviewers. A minor failing unit test was noted but addressed separately, allowing the merge to proceed. | |
| #831 docs: remove version from plugin documentation howto | craft-parts | merged | Merged documentation changes removing version references from the plugin howto. Added a note recommending version inclusion for app-specific plugins. Approved by two reviewers, resulting in a four-line deletion across one file. |