← Back to issue list

Added new maven-targets option to maven plugin.

View original Github issue

Metadata

Project
snapcraft
Number
#627
Type
pull request
State
closed
Author
ZenHarbinger
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged; Maven target support was rebased and merged through canonical/snapcraft#650 in commit 710401610.

Resolution: closed superseded

Reason: PR #627 was closed after prolonged inactivity. Its Maven target support was carried forward through #638 and merged as rebased PR #650 in commit 710401610.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Composite maven projects do not build to 'target'. This update allows the user to specify the child target to copy. ``` yml parts: algolink-mvn: plugin: maven source: . maven-targets: - algolink-gui - algolink-cli ``` By default, the basedir/target directory is searched, otherwise it uses the 'target' directory of each specified value. The installdir for each child project is the name of the child project. If no values are specified, it reverts to the default of 'jar' or 'war' depending on the target type of the project.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged; Maven target support was rebased and merged through canonical/snapcraft#650 in commit 710401610.
stealth/space-bunny-alpha — closed stale Closed unmerged after years without review. Rebased support landed via canonical/snapcraft#650 in commit 710401610.
qwen/qwen3.6-35b-a3b — — Adds a maven-targets option to support composite Maven projects. Reviewers approved the feature, but it stalled due to unresolved comments and missing contributor license agreement paperwork. It was closed without being merged.
qwen3.6-35b-a3b-mtp-q6 — — Closed without merging. Maintainers requested a linked bug report and a signed contributor license agreement. The pull request remains abandoned due to unmet administrative requirements.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#650 (confidence 99%)

    Rebased Maven target support was merged in commit 710401610.

  • Related To: canonical/snapcraft#638 (confidence 90%)

    Earlier feature branch implementation that preceded the rebased work in #650.

Related issues

Issue Project State Summary Similarity
#626 Added new maven-targets option to maven plugin. snapcraft closed Closed unmerged after no review; equivalent maven-targets support was later merged in #650 via commit 710401610.
91%
#624 Added maven-targets to maven plugin. snapcraft closed Closed unmerged after the author found Maven target directories included unwanted files and planned to redesign the feature; no resolving PR or commit landed.
83%
#1599987 Add maven-targets to maven plugin snapcraft (launchpad) closed Maven target support was implemented and merged in snapcraft PR #650 (commit 710401610), enabling composite projects with module-specific target directories.
83%
#625 Added mavent-targets for when building composite maven projects in sn… snapcraft closed Closed unmerged after composite Maven support was reworked in #638 and delivered by merged PR #650 via commit 710401610.
82%
#638 Wishlist feature/maven-targets branch for snapcraft. snapcraft closed Maven target support from #638 was superseded by rebased PR canonical/snapcraft#650, merged as commit 710401610.
77%
#827 Support setting build targets in the maven plugin. Make the maven plu… snapcraft closed Closed as stale after conflicts and prolonged inactivity; equivalent Maven target support had already landed in #650 via commit 710401610.
75%
#650 feature/maven-targets w/ re-based maven.py snapcraft merged Merged rebased Maven-target support with tests, resolving Launchpad bug #1599987 in commit 710401610.
74%