← Back to issue list

feat: Plugin-constrained build-attributes

View original Github issue

Metadata

Project
craft-parts
Number
#1148
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1148 in commit 9f4e255d, introducing plugin-gated build attributes and self-contained support for the maven and maven-use plugins.

Resolution: closed resolved

Reason: The approved PR passed all CI checks and was merged as commit 9f4e255d. It added the build-attribute support framework and enabled self-contained builds for both Maven plugins.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This commit introduces the concept of build-attributes that craft-parts is aware of, and that need to be explicitly supported by a part's plugin in order to be useable in said part. Currently the only such attribute is 'self-contained', and only the 'maven' and 'maven-use' plugins support it. - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1148 in commit 9f4e255d, introducing plugin-gated build attributes and self-contained support for the maven and maven-use plugins.
stealth/space-bunny-alpha — closed resolved Merged PR #1148 (commit 9f4e255d), adding plugin-constrained build attributes and self-contained support for the maven and maven-use plugins.
qwen/qwen3.6-35b-a3b — — Merged. Adds plugin-constrained build-attributes to craft-parts, requiring explicit plugin support. Currently implements the 'self-contained' attribute for maven and maven-use plugins. Approved and passed all CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Successfully merged feature adding plugin-constrained build-attributes to craft-parts. Requires explicit plugin support, initially implementing the self-contained attribute for maven and maven-use plugins.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-parts#1145 (confidence 85%)

    Introduced self-contained builds for Maven plugins, providing functionality integrated by this PR.

Related issues

Issue Project State Summary Similarity
#1145 feat: 'self-contained' builds for Maven plugins craft-parts merged Merged PR #1145 (commit 25d7598e) adds a 'self-contained' build-attribute for maven/maven-use plugins, always rewriting Maven source versions from backstage and /usr/share/maven-repo artifacts; backstage discovery is now default.
80%
#1620 plugins: build-attributes is already in the state snapcraft merged Merged #1620 via commit 599c70fd6, removing redundant plugin build-attributes handling because core state already tracks it for build-step dirtiness.
75%
#1425 feat(gradle_plugin): add self-contained attribute support craft-parts merged Merged as commit ef17116e, adding Gradle self-contained support with offline local-Maven resolution, maven-use publishing, and builds without a Gradle wrapper.
74%
#1154 feat: allow customizations on MavenPlugin craft-parts merged Merged PR #1154 added MavenPlugin subclass hooks for extra operations and custom deployment paths without changing default behavior (commit 03d22354).
73%