elharo opened a new pull request, #638:
URL: https://github.com/apache/maven-war-plugin/pull/638

   ## 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to