maven plugin should install maven build-package
Metadata
Current evaluation
Maven plugin requires mvn pre-installed; reporter wants build-packages auto-added. Maintainers triaged (CRAFT-3257) and discussed making it behave like rust plugin. A self-contained build attribute was later added to maven/gradle plugins, partially addressing the need.
Suggested action: keep open
Reason: Maintainer tigarmo explicitly triaged this as intentional design and lengau proposed changing it to behave like the rust plugin (auto-install system maven when no maven-deps part exists), with an internal ticket CRAFT-3257 created. The maven plugin still returns an empty get_build_packages() set, so the core request (auto-install maven/jdk) is not implemented in craft-parts; the later self-contained build attribute only addresses dependency mirroring, not the missing mvn binary. This is a valid, acknowledged feature request that remains unaddressed.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
27.5
Staleness:
55
Complexity:
45
Confidence:
60
Support Request:
25
|
keep open | Maven plugin requires mvn pre-installed; reporter wants build-packages auto-added. Maintainers triaged (CRAFT-3257) and discussed making it behave like rust plugin. A self-contained build attribute was later added to maven/gradle plugins, partially addressing the need. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
30
Confidence:
75
Support Request:
20
|
close stale | Maven plugin requires manual build-packages for maven/JDK. Reporter suggests auto-installing them. Open for over a year with no maintainer labels, assignment, or implementation progress. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
30
Confidence:
80
Support Request:
15
|
close stale | Untriaged feature request to auto-install maven and JDK build packages. Inactive for over a year with no maintainer response or implementation. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
25
Confidence:
75
Support Request:
10
|
keep open | Auto-install maven and JDK build-packages in the maven plugin when not explicitly defined. Open. Contributors suggest mimicking the rust plugin or implementing a rockcraft-only override. Awaiting implementation decision. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-parts#1145
(confidence 55%)
Adds self-contained build attribute for Maven plugins, related to making maven builds more self-sufficient but does not auto-install mvn.
Related issues
No related issues found above the similarity threshold.