← Back to issue list

feat: maven rockcraft plugin

View original Github issue

Metadata

Project
rockcraft
Number
#728
Type
pull request
State
closed
Author
vpa1977
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged and superseded by #752 (commit b7ea7434), which added Maven/Ant overrides avoiding conflicting /bin/java symlinks.

Resolution: closed superseded

Reason: PR #728 was closed after its remaining hardlink change was reworked. PR #752 merged as commit b7ea7434 with the narrower Java-symlink fix, while craft-parts#895 supplied JAVA_HOME support.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add overrides for craft-part maven plugin to allow building Maven projects in rockcraft. Namely: - Do not link /bin/java as it conflicts with the base-files_base slice The PR requires https://github.com/canonical/craft-parts/pull/895 - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged and superseded by #752 (commit b7ea7434), which added Maven/Ant overrides avoiding conflicting /bin/java symlinks.
stealth/space-bunny-alpha — closed superseded Closed unmerged and superseded by #752 (b7ea7434), which added Maven/Ant overrides avoiding conflicting /bin/java symlinks. Prerequisite craft-parts#895 (a3b9cdab) added JAVA_HOME support.
stealth/space-bunny-alpha — closed superseded Closed unmerged; its replacement, #752, merged as b7ea7434, adding Maven/Ant overrides to prevent /bin/java symlink conflicts.
stealth/space-bunny-alpha — closed superseded Closed unmerged after being superseded by canonical/rockcraft#752, merged as b7ea7434. That PR added Maven/Ant overrides to avoid conflicting /bin/java symlinks.
qwen/qwen3.6-35b-a3b — — Closed without merging. Proposed Maven plugin hardlink adjustments were moved to draft pending a craft-parts JAVA_HOME dependency. Reviewers requested dependency updates, but the contribution was abandoned without resolution.
qwen3.6-35b-a3b-mtp-q6 — — Closed and moved to draft. The author deferred changes, planning to fix the JAVA_HOME conflict in a separate craft-parts PR. This PR will be resubmitted to only remove the conflicting hardlink, pending the external dependency.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/rockcraft#752 (confidence 99%)

    Merged commit b7ea7434 delivered the Maven/Ant override fix without the hardlink implementation from #728.

  • Related To: canonical/craft-parts#895 (confidence 98%)

    Merged as a3b9cdab; added the required Java plugin JAVA_HOME behavior.

  • Related To: canonical/rockcraft#738 (confidence 90%)

    Test-only PR demonstrating the second Maven build failure that motivated the override.

Related issues

Issue Project State Summary Similarity
#752 feat: do not create /bin/java symlink rockcraft merged Merged in canonical/rockcraft#752 as b7ea7434, preventing Maven and Ant plugins from creating /bin/java symlinks so those plugins can build rocks.
81%
#1050 feat: maven plugin enhancement craft-parts closed Closed unmerged; Maven Wrapper support was split into #1054 and merged as 3503ab9b. Java version validation was not accepted.
79%
#738 test: add maven plugin test rockcraft closed Closed unmerged and superseded by #752 (b7ea7434), which added the Maven spread-test path while fixing Java symlink behavior.
73%
#1125 feat: maven-use plugin craft-parts merged Merged #1125 as b86a3910, productizing the maven-use plugin for CRAFT-4570; all CI checks passed.
71%
#1032 feat: spring boot plugin craft-parts closed Closed unmerged for a plugin redesign; Maven-wrapper support landed in #1054 (3503ab9b), and a separate Gradle plugin landed in #1056 (87e494f5).
71%