← Back to issue list

feat(maven-use): add support for the parent tag

View original Github issue

Metadata

Project
craft-parts
Number
#1147
Type
pull request
State
merged
Author
bepri
Labels
Created
Updated
Closed

Current evaluation

Merged. Adds support for rewriting the parent tag version in pom.xml files for the maven-use tool. Approved by three reviewers, passed all CI checks, and implemented across eight files (+69/-2 lines). Resolves CRAFT-4602.

Suggested action:

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ----- Some projects feature a `<parent>` tag at the top level of their `pom.xml`. This is effectively a pom-as-a-package, meant for inheriting configuration from an "upstream" `pom.xml` file. Since it is a "package", it has a version number that needs to be rewritten by maven-use. CRAFT-4602

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Adds support for rewriting the parent tag version in pom.xml files for the maven-use tool. Approved by three reviewers, passed all CI checks, and implemented across eight files (+69/-2 lines). Resolves CRAFT-4602.
qwen3.6-35b-a3b-mtp-q6 Merged pull request adding support for rewriting the version in the parent tag of pom.xml files to the maven-use tool. Resolves CRAFT-4602.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1125 feat: maven-use plugin craft-parts merged Merged the maven-use plugin, productizing it per CRAFT-4570. Approved by three reviewers and passed all CI checks. The update modified 21 files, adding 1505 lines and removing 136.
75%
#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.
74%
#1166 feat(maven-use): support multi-module projects craft-parts merged Merged. Implements recursive discovery and patching for nested pom.xml files in multi-module Maven projects via the maven-use plugin. Approved by three reviewers, passed all CI checks, and modified 11 files.
74%
#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.
70%