Skip to content

[MWAR-220] Add integration test for overlay dependencyManagement version conflict#638

Closed
elharo wants to merge 4 commits into
apache:masterfrom
elharo:MWAR-389-it
Closed

[MWAR-220] Add integration test for overlay dependencyManagement version conflict#638
elharo wants to merge 4 commits into
apache:masterfrom
elharo:MWAR-389-it

Conversation

@elharo

@elharo elharo commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Integration test for MWAR-220 / issue #389

Adds an integration test that reproduces the issue where dependencyManagement does not filter conflicting dependency versions pulled in by WAR overlays.

Test setup

  • overlay-war depends on plexus-utils:3.0.24
  • main-war has dependencyManagement pinning plexus-utils to @plexusUtilVersion@ (4.0.3) and uses overlay-war as an overlay

Expected result (current)

Both plexus-utils-3.0.24.jar (from overlay unpacking) and plexus-utils-4.0.3.jar (from dependencyManagement) appear in the final WAR's WEB-INF/lib.

Desired behavior

Only the dependencyManagement-pinned version (plexus-utils-4.0.3.jar) should appear.

This test is expected to fail on CI — it documents the known issue. A subsequent fix should make it pass.

@elharo elharo changed the title Add integration test for MWAR-220 overlay dependencyManagement version conflict [MWAR-220] Add integration test for overlay dependencyManagement version conflict Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant