← Back to issue list

feat(maven-use): consume binaries directly

View original Github issue

Metadata

Project
craft-parts
Number
#1163
Type
pull request
State
merged
Author
tigarmo
Labels
PR: Squash
Created
Updated
Closed

Current evaluation

Merged #1163 as e4c797ec, adding direct consumption of prebuilt Maven artifacts via a top-level maven-use directory; shipped in 2.17.0.

Resolution: closed resolved

Reason: PR #1163 was merged with commit e4c797ec, implementing direct binary consumption and an integration test. The 2.17.0 changelog records the new top-level maven-use artifact processing.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This commit gives the `maven-use` plugin the ability to consume, as "source", artifacts that were previously built by Maven. This ability is constrained to the existence of a "maven-use" top-level directory in the part's source, which indicates that the plugin should use those binaries directly instead of attempting to build from Java source. To illustrate this behavior, the new integration test builds two "projects": the first, "binaries-source", builds two Java dependencies using the maven-use plugin and copies the generated artifacts as "sources" for the second project, "binaries-consume". This project's third and final part then uses regular Java sources with the Maven plugin to create a fat "application" jar. - [ ] 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 #1163 as e4c797ec, adding direct consumption of prebuilt Maven artifacts via a top-level maven-use directory; shipped in 2.17.0.
stealth/space-bunny-alpha — closed resolved Merged in #1163 as commit e4c797ec, adding maven-use support for consuming prebuilt Maven artifacts when a part has a top-level maven-use directory.
qwen/qwen3.6-35b-a3b — — Merged a squashed commit enabling the maven-use plugin to directly consume pre-built Maven artifacts as sources when a maven-use directory exists. Approved by three reviewers, passed all CI checks, and includes integration tests.
qwen3.6-35b-a3b-mtp-q6 — — Merged as a squash commit. Enables the maven-use plugin to directly consume pre-built Maven artifacts as sources when a maven-use directory exists, bypassing source compilation. Includes integration tests validating the workflow.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1155 feat(maven-use): handle indirect plugin dependencies craft-parts merged Merged #1155 in d322b522: maven-use now pins indirect Maven plugins found on disk via pluginManagement instead of relying on unavailable hard-coded defaults.
72%